/* Instructor Page Styles */
.instructor-page {
    padding-bottom: 60px;
}

.inst-hero {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    text-align: center;
    border-bottom: 1px solid #222;
}

.inst-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.inst-hero .subtitle {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.inst-features {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.inst-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #111;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ff4500;
    /* رنگ سازمانی خود را جایگزین کنید */
}

.inst-stats-row {
    margin: 60px auto;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    background: #111;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #222;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff4500;
}

.stat-item .stat-label {
    color: #aaa;
    font-size: 0.9rem;
}

.inst-roadmap-section,
.inst-testimonials-section {
    margin: 80px auto;
}

.inst-roadmap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    position: relative;
}

.inst-roadmap::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #333;
    z-index: 0;
}

.inst-roadmap .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #0a0a0a;
    border: 2px solid #ff4500;
    color: #ff4500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.inst-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimo-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #333;
    position: absolute;
    top: 10px;
    right: 20px;
}

.quote-text {
    position: relative;
    z-index: 2;
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.inst-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info strong {
    display: block;
    color: #fff;
}

.instructor-info span {
    font-size: 0.8rem;
    color: #888;
}

.inst-apply-section {
    padding: 60px 20px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #0a0a0a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .inst-roadmap {
        flex-direction: column;
        gap: 30px;
    }

    .inst-roadmap::before {
        display: none;
    }
}



/* Executive Staff Page Styles */
.staff-page {
    padding-bottom: 80px;
}

.staff-hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #050505 0%, #1a1a1a 100%);
    text-align: center;
    border-bottom: 1px solid #222;
}

.staff-hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
}

.staff-hero-desc {
    font-size: 1.1rem;
    color: #bbb;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Geographic Info Box */
.staff-geo-info {
    background: rgba(255, 255, 255, 0.03);
    border-right: 4px solid #ff4500;
    /* رنگ سازمانی (اکسنت) */
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 900px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.geo-title {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.geo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.geo-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.8;
}

.geo-list li::before {
    content: "•";
    color: #ff4500;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    line-height: 1.4;
}

.geo-list li strong {
    color: #fff;
}

/* Roles Section */
.section-title {
    margin-bottom: 40px;
    color: #fff;
}

.staff-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.staff-role-card {
    background: #111;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.staff-role-card:hover {
    border-color: #ff4500;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
}

.role-icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #ff4500;
    margin-bottom: 20px;
}

.staff-role-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.staff-role-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.staff-gallery-wrapper {
    margin-bottom: 80px;
}

.staff-gallery-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(80%) contrast(1.2);
    /* افکت پریمیوم */
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

/* Form Section */
.staff-apply-section .form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #0a0a0a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .staff-geo-info {
        padding: 20px;
        margin-top: -20px;
    }

    .staff-hero {
        padding: 100px 20px 60px;
    }
}



/* Story Page Styles */
.story-page {
    background-color: #050505;
}

.story-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle, #1a1a1a 0%, #000 100%);
    padding: 100px 20px 60px;
    border-bottom: 1px solid #222;
}

.story-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
}

.story-intro {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Concept Grid */
.story-concept {
    margin: -50px auto 80px;
    position: relative;
    z-index: 10;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.concept-box {
    background: #111;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #222;
}

.concept-box .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #ff4500;
    margin-bottom: 20px;
}

.concept-box h3 {
    color: #fff;
    margin-bottom: 15px;
}

.concept-box p {
    color: #aaa;
    line-height: 1.6;
}

/* Timeline Section */
.story-timeline-section {
    padding: 60px 0;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* خط عمودی وسط */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ff4500;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: left;
}

/* دایره‌های روی خط */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000;
    border: 4px solid #ff4500;
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-item.left::after {
    right: -12px;
}

.timeline-content {
    background: #111;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222;
    position: relative;
}

.timeline-year {
    display: inline-block;
    background: rgba(255, 69, 0, 0.1);
    color: #ff4500;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Masonry Gallery */
.story-gallery-section {
    padding: 60px 0;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
}

.masonry-item {
    border-radius: 8px;
    overflow: hidden;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
    transition: 0.4s ease;
}

.masonry-item:hover img {
    filter: contrast(1.2) brightness(1.1);
    transform: scale(1.05);
}

/* جادوی Masonry با CSS Grid */
.masonry-item:nth-child(4n - 2) {
    grid-row: span 2;
}

.masonry-item:nth-child(5n) {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-item:nth-child(7n) {
    grid-column: span 2;
}

/* CTA Section */
.story-cta {
    padding: 100px 20px;
    background: linear-gradient(to top, #111, #050505);
    border-top: 1px solid #222;
}

.story-cta h2 {
    color: #fff;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 95%;
        /* خط به سمت راست منتقل می‌شود (راست‌چین) */
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: right !important;
        padding: 20px 40px 20px 0;
    }

    .timeline-item::after {
        left: auto !important;
        right: -12px !important;
    }

    .masonry-item:nth-child(n) {
        grid-row: span 1;
        grid-column: span 1;
    }

    /* غیرفعال کردن کلاژ در موبایل */
    .cta-buttons {
        flex-direction: column;
    }
}


/* Our Team Page Styles */
.team-page {
    background-color: #050505;
    padding-bottom: 60px;
}

.team-hero {
    padding: 100px 20px 60px;
    background: radial-gradient(ellipse at bottom, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #222;
    margin-bottom: 60px;
}

.team-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.team-hero-desc {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Founders VIP Section */
.team-founders-section {
    margin-bottom: 80px;
}

.team-founders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.founder-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s ease;
}

.founder-card:hover {
    border-color: #ff4500;
    transform: translateY(-5px);
}

.founder-photo-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: contrast(1.1);
}

.founder-info {
    padding: 25px 20px;
}

.founder-info h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.founder-role {
    color: #ff4500;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.founder-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.founder-socials a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.founder-socials a:hover {
    color: #ff4500;
}

.founder-socials .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Filter Tabs */
.team-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #ff4500;
    color: #ff4500;
    background: rgba(255, 69, 0, 0.05);
}

/* Members Grid (Action Shots) */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.member-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.member-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s ease;
    display: block;
}

.member-card:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 40px 15px 15px;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.member-card:hover .member-info {
    transform: translateY(0);
}

.member-info h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.member-role {
    color: #ff4500;
    font-size: 0.85rem;
}

/* CTA */
.team-join-cta {
    padding: 80px 20px;
    background: #111;
    border-top: 1px solid #222;
    border-radius: 12px;
}

.team-join-cta h2 {
    color: #fff;
    margin-bottom: 10px;
}

.team-join-cta p {
    color: #aaa;
    margin-bottom: 25px;
}

.mt-3 {
    margin-top: 15px;
    display: inline-block;
}




/* Contact Us Page Styles */
.contact-page {
    background-color: #050505;
    padding-bottom: 60px;
}

.contact-hero {
    padding: 100px 20px 120px;
    background: radial-gradient(circle at top, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #222;
    text-align: center;
}

.contact-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.contact-hero-desc {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Smart Routing */
.smart-routing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: -60px auto 60px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
}

.routing-card {
    background: #111;
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid #222;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.routing-card:hover {
    border-color: #ff4500;
    transform: translateY(-5px);
}

.routing-icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #ff4500;
    margin-bottom: 15px;
    display: inline-block;
}

.routing-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.routing-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.routing-card .btn-outline {
    width: 100%;
    box-sizing: border-box;
}

/* Main Content Split */
.contact-main-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 60px;
    align-items: start;
}

/* Info Column */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #ff4500;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    color: #aaa;
    line-height: 1.6;
}

/* Social Icons */
.contact-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}

.contact-social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #111;
    border: 1px solid #333;
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-icons a:hover {
    transform: translateY(-3px);
}

.contact-social-icons a.social-tg:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.contact-social-icons a.social-ig:hover {
    background: #e1306c;
    border-color: #e1306c;
}

.contact-social-icons a.social-li:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.contact-social-icons a.social-ap:hover {
    background: #ea1d5d;
    border-color: #ea1d5d;
}

/* Neshan Map Pseudo-Dark Mode */
.neshan-map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 1px solid #222 !important;
    border-radius: 12px;
    /* این خط جادویی نقشه روشن را تاریک می‌کند */
    filter: grayscale(80%) invert(90%) hue-rotate(180deg);
    pointer-events: auto;
}

/* Form Column */
.form-wrapper-box {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

/* Responsive */
@media (max-width: 992px) {
    .smart-routing-grid {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }

    .contact-main-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-wrapper-box {
        padding: 30px 20px;
    }
}



/* Legal Document Page Styles */
.legal-page {
    background-color: #050505;
    padding-bottom: 80px;
}

.legal-hero {
    padding: 60px 20px 40px;
    text-align: center;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.legal-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.legal-last-updated {
    color: #888;
    font-size: 14px;
    margin-top: 10px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    align-items: start;
}

/* Sticky TOC Sidebar */
.sticky-toc {
    position: sticky;
    top: 100px;
    /* فاصله از هدر سایت */
    background: #111;
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid #222;
}

.toc-title {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

#auto-toc-container a {
    display: block;
    color: #bbb;
    margin-bottom: 12px;
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
    line-height: 1.6;
}

#auto-toc-container a:hover {
    color: #ff4500;
}

#auto-toc-container a.toc-h3 {
    padding-right: 15px;
    font-size: 13px;
    color: #888;
}

#auto-toc-container a.toc-h3::before {
    content: "- ";
}

/* Content Wrapper */
.legal-content-wrapper {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

.legal-tools {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 1px dashed #333;
    padding-bottom: 15px;
}

.legal-tools button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.legal-content {
    line-height: 2.2;
    font-size: 16px;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.legal-content h2 {
    color: #fff;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    scroll-margin-top: 80px;
}

.legal-content h3 {
    color: #ff4500;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    scroll-margin-top: 80px;
}

.legal-content p {
    margin-bottom: 25px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 25px;
    padding-right: 25px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .sticky-toc {
        position: relative;
        top: 0;
        margin-bottom: 10px;
    }

    .legal-content-wrapper {
        padding: 25px 20px;
    }
}

/* 🖨️ Print Styles Optimization */
@media print {

    /* تغییر رنگ پس‌زمینه به سفید و متن به مشکی برای صرفه‌جویی در جوهر و رسمیت سند */
    body {
        background: #fff !important;
        color: #000 !important;
    }

    /* مخفی کردن تمام عناصر UI (هدر، فوتر، سایدبار، دکمه‌ها) */
    header,
    footer,
    .robonit-header,
    .site-footer,
    .legal-sidebar,
    .legal-tools,
    .legal-hero {
        display: none !important;
    }

    /* تمام‌صفحه کردن محتوا */
    .legal-layout {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .legal-content-wrapper {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    .legal-content {
        max-width: 100% !important;
        color: #000 !important;
        text-align: right;
    }

    /* استایل‌های متن برای پرینتر */
    .legal-content h2,
    .legal-content h3 {
        color: #000 !important;
        page-break-after: avoid;
    }

    .legal-content p,
    .legal-content li {
        color: #333 !important;
        page-break-inside: avoid;
    }

    /* اضافه کردن عنوان سند در هدر برگه پرینت شده */
    .legal-content::before {
        content: "سند حقوقی پلتفرم RoboNIT";
        display: block;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        border-bottom: 2px solid #000;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
}




/* Guide Page Styles */
.guide-page {
    background: #050505;
    padding-bottom: 80px;
}

.guide-hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at bottom, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 60px;
}

.guide-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.guide-hero p {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.guide-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-right: 50px;
}

/* Vertical Dashed Line */
.guide-timeline::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 10px;
    bottom: 50px;
    width: 2px;
    border-right: 2px dashed #333;
}

.guide-step {
    position: relative;
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.step-number {
    position: absolute;
    right: -50px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 15px var(--accent-color);
}

.step-content h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.step-content p {
    color: #bbb;
    line-height: 1.8;
    font-size: 16px;
}

.step-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.step-image img:hover {
    transform: scale(1.02);
}

/* Status Badge Styling matching Panel */
.badge-status {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin: 0 5px;
}

.badge-status.pending {
    background: #f1c40f;
    color: #000;
}

/* Yellow */
.badge-status.revision {
    background: #e74c3c;
    color: #fff;
}

/* Red */
.badge-status.approved {
    background: #3498db;
    color: #fff;
}

/* Blue */
.badge-status.payment {
    background: #e67e22;
    color: #fff;
}

/* Orange */
.badge-status.registered {
    background: #2ecc71;
    color: #fff;
}

/* Green */

.status-guide-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.status-guide-list li {
    margin-bottom: 15px;
    color: #ddd;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .guide-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guide-timeline {
        padding-right: 40px;
    }

    .step-number {
        right: -40px;
    }
}




/* Certificate Guide Page */
.cert-guide-page {
    background: #050505;
    padding-bottom: 80px;
}

.cert-guide-hero {
    padding: 80px 20px 100px;
    background: radial-gradient(circle at bottom, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #1a1a1a;
}

.cert-guide-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cert-guide-hero p {
    color: #aaa;
    font-size: 1.1rem;
}

.cert-anchor-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: -40px auto 80px;
    position: relative;
    z-index: 10;
}

.anchor-card {
    background: #111;
    border: 1px solid #222;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.anchor-card:hover {
    border-color: #ff4500;
    transform: translateY(-5px);
}

.anchor-card .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #ff4500;
    margin-bottom: 20px;
}

.anchor-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.anchor-card p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.cert-section {
    max-width: 800px;
    margin: 0 auto 100px;
    text-align: center;
}

.cert-content h2 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.8rem;
}

.cert-content p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.cert-graphic img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    margin-top: 30px;
}

/* Inline Verify Form */
.verify-search-box {
    display: flex;
    max-width: 650px;
    margin: 0 auto 40px;
    background: #111;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
}

.verify-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    font-family: 'Meem', 'Courier New', Courier, monospace;
    font-size: 16px;
    outline: none;
}

.verify-search-box button {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cert-anchor-cards {
        flex-direction: column;
        padding: 0 20px;
        margin-top: -30px;
    }

    .verify-search-box {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .verify-search-box input {
        text-align: center;
        border-bottom: 1px solid #222;
        margin-bottom: 10px;
    }
}




/* Rules Hub Page Styles */
.rules-page {
    background: #050505;
    padding-bottom: 80px;
    min-height: 80vh;
}

.rules-hero {
    padding: 80px 20px 60px;
    background: radial-gradient(circle at top, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #1a1a1a;
}

.rules-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.rules-hero p {
    color: #aaa;
    font-size: 1.1rem;
}

/* Live Search */
.rules-search-box {
    max-width: 600px;
    margin: 30px auto 0;
}

.rules-search-box input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.rules-search-box input:focus {
    border-color: var(--accent-color);
}

/* Tabs Navigation */
.rules-content-section {
    margin-top: 40px;
}

.rules-tabs-nav {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.tab-btn {
    background: transparent;
    color: #888;
    border: none;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn:hover {
    color: #ccc;
}

.tab-btn.active {
    color: #fff;
    border-color: var(--accent-color);
    font-weight: bold;
}

/* Tab Panes */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rule Cards */
.rules-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    border: 1px solid #222;
    padding: 20px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rule-card:hover {
    border-color: #444;
    transform: translateX(-5px);
}

.rule-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.badge-league {
    background: rgba(255, 69, 0, 0.1);
    color: var(--accent-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.rule-info h4 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-download:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

.btn-download .dashicons {
    margin-top: 3px;
}

.no-rules-msg {
    color: #888;
    text-align: center;
    padding: 30px;
    border: 1px dashed #333;
    border-radius: 8px;
}

.past-comp-title {
    color: #fff;
    border-bottom: 1px dashed #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .rule-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}



/* FAQ Page Styles */
.faq-page {
    background: #050505;
    padding-bottom: 80px;
}

.faq-hero {
    padding: 100px 20px 80px;
    background: radial-gradient(circle at top, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #1a1a1a;
    text-align: center;
}

.faq-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Search Box */
.faq-search-box {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-box input {
    width: 100%;
    padding: 18px 25px;
    background: #111;
    border: 1px solid #333;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.faq-search-box input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
}

/* Layout */
.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 60px auto;
    align-items: start;
}

/* Sidebar Tabs */
.sticky-faq-cats {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-cat-btn {
    text-align: right;
    padding: 15px 20px;
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-cat-btn:hover {
    background: #1a1a1a;
    color: #ccc;
}

.faq-cat-btn.active {
    background: #1a1a1a;
    border-color: var(--accent-color);
    color: #fff;
    font-weight: bold;
    box-shadow: 4px 0 0 var(--accent-color) inset;
}

/* Panes */
.faq-cat-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.faq-cat-pane.active {
    display: block;
}

.faq-pane-title {
    color: var(--accent-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
    display: none;
}

/* Show only when searching */

/* Accordions */
.faq-item {
    border-bottom: 1px solid #222;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: #fff;
    padding: 20px 0;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: normal;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-icon {
    font-size: 24px;
    color: #888;
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer-inner {
    padding-bottom: 25px;
    color: #bbb;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Accordion Open State */
.faq-item.open .faq-question h3 {
    color: var(--accent-color);
    font-weight: bold;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* Smart CTA */
.faq-smart-cta {
    margin: 80px auto;
    max-width: 800px;
}

.cta-box {
    background: #111;
    border: 1px solid #222;
    padding: 50px 40px;
    border-radius: 12px;
}

.cta-box h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-buttons {
    margin-top: 30px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sticky-faq-cats {
        position: relative;
        top: 0;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .faq-cat-btn {
        white-space: nowrap;
        box-shadow: none !important;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        border: none;
        background: transparent;
        padding: 10px;
    }

    .faq-cat-btn.active {
        border-bottom-color: var(--accent-color);
        background: transparent;
    }
}