/* فونت‌های خاص */
@import url('https://v1.fontapi.ir/css/Vazirmatn');

:root {
    --primary-color: #8e44ad;
    --secondary-color: #9b59b6;
    --dark-purple: #4a2366;
    --light-purple: #f5eef8;
    --accent-color: #FFD700;
    --text-color: #333;
    --white: #ffffff;
    --gold: #c79c60;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background-color: var(--light-purple);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* بخش چراغ‌ها و میز */
.tm-welcome-section {
    background: linear-gradient(135deg, #4a2366 0%, #2e1541 100%);
    min-height: 600px;
    overflow: hidden;
}

.white-text { color: white; }
.gold-text { color: var(--gold); }
.gray-text { color: #e0e0e0; }

.tm-welcome-content {
    margin: 120px auto 0;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
}

.title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tm-handwriting-font {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 48px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    text-align: center;
    font-weight: bold;
}

.tm-header-line {
    width: 90px;
    vertical-align: middle;
}

.left-line {
    margin-right: 10px;
}

.right-line {
    margin-left: 10px;
}

.tm-welcome-header-2 {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    margin: 10px 0;
    letter-spacing: 4px;
    color: var(--gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.tm-welcome-description { 
    text-align: center; 
    font-size: 18px;
    margin: 10px 0 120px;
}

.tm-position-relative { 
    position: relative; 
}

.tm-table-set {
    bottom: -180px;
    max-width: 650px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.tm-lights-container {
    opacity: 0.6;
}

.light {
    width: 200px;
    filter: blur(3px);
}

.light-1 {
    top: -50px;
    left: 5%;
    transform: rotate(-15deg);
}

.light-2 {
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.light-3 {
    top: -50px;
    right: 5%;
    transform: rotate(15deg);
}

/* بخش اصلی محتوا */
.ac-main {
    background-color: var(--light-purple);
    padding: 12rem 0 3rem;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* بخش تعریف کانون ارزیابی */
.ac-definition {
    padding: 5rem 0;
    background-color: var(--white);
    border-radius: 30px;
    margin-bottom: 5rem;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
    margin-top: -20px;
    padding-top: 2rem;
    box-shadow: 0 -20px 30px rgba(0, 0, 0, 0.05);
}

.definition-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.definition-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.definition-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.definition-image img:hover {
    transform: scale(1.05);
}

.definition-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.definition-box {
    background-color: #f9f5fd;
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-right: 5px solid var(--primary-color);
}

.definition-box:nth-child(even) {
    background-color: white;
    border-right: 5px solid var(--secondary-color);
}

.definition-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.definition-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.definition-box p {
    margin: 0;
    line-height: 1.7;
    text-align: justify;
}

.reference {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.more-definitions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* بخش مزیت‌های کانون ارزیابی - طراحی شش ضلعی */
.ac-benefits {
    padding: 5rem 0;
    margin-bottom: 5rem;
}

.benefits-hexagon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.hexagon-item {
    width: 300px;
    height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon {
    width: 100%;
    height: 100%;
    background: var(--white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow);
}

.hexagon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: white;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}

.hexagon-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    width: 90%;
}

.hexagon-content i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hexagon-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hexagon-content p {
    font-size: 0.9rem;
    margin: 0;
}

.hexagon-item:hover .hexagon {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(142, 68, 173, 0.2);
}

.hexagon-item:hover .hexagon-content i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* بخش آمار و تحقیقات */
.ac-statistics {
    padding: 3rem 0;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    color: white;
}

.ac-statistics .section-title {
    color: white;
    margin-bottom: 2rem;
}

.ac-statistics .section-title::after {
    background-color: var(--gold);
}

.statistics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.statistic-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.8rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statistic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-counter {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to bottom, #ffd700, #c79c60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(199, 156, 96, 0.3);
}

.stat-symbol {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(to bottom, #ffd700, #c79c60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 5px;
}

.statistic-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.statistic-card p {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.statistic-card .reference {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* استایل برای موبایل */
@media (max-width: 992px) {
    .statistics-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .statistics-container {
        grid-template-columns: 1fr;
    }
}

/* بخش ابزارهای نوین */
.ac-tools {
    padding: 5rem 0;
    margin-bottom: 5rem;
}

.tools-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateX(-10px);
}

.tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    background: var(--primary-color);
    color: white;
    font-size: 2.5rem;
    padding: 0 2rem;
}

.tool-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.tool-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.tool-content p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* بخش نوآوری‌ها */
.ac-innovations {
    padding: 5rem 0;
    background-color: var(--white);
    border-radius: 30px;
    margin-bottom: 5rem;
    box-shadow: var(--shadow);
}

.innovations-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.innovation-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.innovation-item:nth-child(even) {
    direction: rtl;
}

.innovation-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.innovation-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.innovation-content {
    padding: 1rem;
}

.innovation-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.innovation-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: justify;
}

/* بخش مزیت‌های همکاری */
.ac-partnership {
    padding: 5rem 0;
    margin-bottom: 5rem;
}

.partnership-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.partnership-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.partnership-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
}

.partnership-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.advantage-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.advantage-item p {
    margin: 0;
    font-weight: 500;
}

.partnership-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.cta-button {
    margin-top: 2rem;
}

.cta-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-link:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* انیمیشن‌های اضافی برای AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* استایل‌های پاسخگو */
@media (max-width: 1200px) {
    .definition-container, .partnership-container {
        grid-template-columns: 1fr;
    }
    
    .definition-image {
        order: -1;
    }
    
    .innovation-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hexagon-item {
        width: 250px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .tm-welcome-section {
        min-height: 580px;
    }
    
    .tm-handwriting-font {
        font-size: 36px;
    }
    
    .tm-welcome-header-2 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .partnership-advantages {
        grid-template-columns: 1fr;
    }
    
    .hexagon-item {
        width: 220px;
        height: 190px;
    }
    
    .light {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .tm-welcome-section {
        min-height: 500px;
    }
    
    .tm-handwriting-font {
        font-size: 30px;
    }
    
    .tm-welcome-header-2 {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .more-definitions {
        grid-template-columns: 1fr;
    }
    
    .hexagon-item {
        width: 100%;
    }
    
    .light {
        width: 150px;
    }
}

/* اسکریپت برای انیمیشن اعداد */
document.addEventListener('DOMContentLoaded', function() {
    if (typeof AOS !== 'undefined') {
        AOS.init({
            duration: 800,
            easing: 'ease-out',
            once: true
        });
    }
    
    const counters = document.querySelectorAll('.counter');
    
    const animateCounter = (counter) => {
        const target = +counter.getAttribute('data-target');
        let current = 0;
        const increment = target / 60;
        
        const updateCounter = () => {
            if (current < target) {
                current += increment;
                counter.textContent = Math.round(current);
                requestAnimationFrame(updateCounter);
            } else {
                counter.textContent = target;
            }
        };
        
        updateCounter();
    };
    
    // اجرای انیمیشن اعداد با Intersection Observer
    const observer = new IntersectionObserver((entries) => {
        entries.forEach(entry => {
            if (entry.isIntersecting) {
                const counter = entry.target;
                animateCounter(counter);
                observer.unobserve(counter);
            }
        });
    }, { threshold: 0.5 });
    
    counters.forEach(counter => {
        observer.observe(counter);
    });
});

/* استایل گرافیک بخش تعریف */
.assessment-graphic {
    position: relative;
    height: 450px;
    width: 100%;
}

.assessment-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    z-index: 5;
}

.assessment-items {
    position: absolute;
    width: 100%;
    height: 100%;
}

.assessment-item {
    position: absolute;
    width: 90px;
    height: 90px;
}

.assessment-item:nth-child(1) { /* تحلیل */
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.assessment-item:nth-child(2) { /* سنجش */
    top: 50%;
    left: calc(50% + 150px);
    transform: translateY(-50%);
}

.assessment-item:nth-child(3) { /* شایستگی */
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.assessment-item:nth-child(4) { /* استعداد */
    top: 50%;
    right: calc(50% + 150px);
    transform: translateY(-50%);
}

.assessment-item:nth-child(5) { /* توسعه */
    top: 120px;
    left: calc(50% + 100px);
}

/* استایل باکس مشاوره */
.ac-consultation {
    padding: 0 0 5rem;
    margin-bottom: 2rem;
}

.consultation-box {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(142, 68, 173, 0.15);
    display: flex;
    flex-direction: column;
}

.consultation-content {
    padding: 3rem;
    position: relative;
}

.consultation-content:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 0 0 0 150px;
}

.consultation-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.consultation-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.consultation-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.consultation-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consultation-item {
    display: flex;
    gap: 1.5rem;
    background: #f9f5fd;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.consultation-item:hover {
    transform: translateX(-10px);
}

.item-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.item-text h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item-text p {
    margin: 0;
    line-height: 1.6;
}

.contact-now {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem 3rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-phone i {
    font-size: 2.5rem;
    color: var(--gold);
}

.phone-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.phone-number {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.contact-button {
    margin-right: auto;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* انیمیشن پالس برای آیکون تلفن */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* طراحی جدید بخش بالایی */
.ac-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #8e44ad 0%, #4a2366 100%);
    overflow: hidden;
    padding: 3rem 0;
    margin-bottom: -50px;
    padding-bottom: 70px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    color: white;
    margin-right: 2rem;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text h1 span {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.hero-text h1 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature i {
    color: var(--gold);
    font-size: 1.2rem;
}

.hero-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-purple);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* مکعب سه بعدی چرخان */
.cubespinner {
    width: 200px;
    height: 200px;
    perspective: 800px;
    transform-style: preserve-3d;
    animation: rotate 12s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.cubespinner div {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(142, 68, 173, 0.3);
}

.cubespinner div i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cubespinner div span {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.cubespinner .face1 { transform: translateZ(100px); }
.cubespinner .face2 { transform: rotateY(90deg) translateZ(100px); }
.cubespinner .face3 { transform: rotateY(180deg) translateZ(100px); }
.cubespinner .face4 { transform: rotateY(-90deg) translateZ(100px); }

@keyframes rotate {
    0% { transform: rotateY(0); }
    25% { transform: rotateY(90deg); }
    50% { transform: rotateY(180deg); }
    75% { transform: rotateY(270deg); }
    100% { transform: rotateY(360deg); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* اضافه کردن JS برای particles */
/* در فایل HTML خود این اسکریپت را اضافه کنید:
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
    particlesJS("particles-js", {
        particles: {
            number: { value: 80, density: { enable: true, value_area: 800 } },
            color: { value: "#ffffff" },
            opacity: { value: 0.3, random: true },
            size: { value: 3, random: true },
            line_linked: { enable: true, distance: 150, color: "#ffffff", opacity: 0.2, width: 1 },
            move: { enable: true, speed: 2, direction: "none", random: true, out_mode: "out" }
        }
    });
</script>
*/

/* استایل ساده‌تر برای گرافیک تعریف کانون */
.assessment-illustration {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assessment-center-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(142, 68, 173, 0.3);
    position: relative;
    z-index: 3;
}

.assessment-center-circle i {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.assessment-center-circle span {
    font-weight: bold;
}

.assessment-outer-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.assessment-outer-item {
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.assessment-outer-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(142, 68, 173, 0.2);
}

.assessment-outer-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.assessment-outer-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* خطوط اتصال */
.assessment-illustration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    border: 2px dashed rgba(142, 68, 173, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* استایل انیمیشن سه‌بعدی */
.cube-3d-container {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cube-3d {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(30deg) rotateY(20deg);
    animation: improved-cube-rotate 20s infinite ease-in-out;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    backface-visibility: visible;
    overflow: hidden;
}

.cube-content {
    text-align: center;
    padding: 20px;
    transform: translateZ(1px);
}

.cube-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.cube-content h4 {
    margin: 0;
    font-size: 1.2rem;
}

.cube-face.front  { transform: translateZ(100px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(100px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

.cube-shadow {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    transform: rotateX(90deg) translateZ(-10px);
    filter: blur(8px);
}

@keyframes improved-cube-rotate {
    0%, 3% {
        transform: rotateX(30deg) rotateY(0deg);
    }
    17%, 20% {
        transform: rotateX(30deg) rotateY(90deg);
    }
    34%, 37% {
        transform: rotateX(30deg) rotateY(180deg);
    }
    51%, 54% {
        transform: rotateX(30deg) rotateY(270deg);
    }
    68%, 71% {
        transform: rotateX(-60deg) rotateY(0deg);
    }
    85%, 88%, 100% {
        transform: rotateX(120deg) rotateY(0deg);
    }
}

.cube-face.front .cube-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
}

.cube-face.front .cube-content i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* انیمیشن هاور برای توقف چرخش */
.cube-3d-container:hover .cube-3d {
    animation-play-state: paused;
}

/* اضافه کردن افکت گلیتر به مکعب */
.cube-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: cube-shine 3s infinite;
}

@keyframes cube-shine {
    0% { left: -150%; }
    100% { left: 150%; }
}
