/* فونت‌ها و تنظیمات پایه */
@import url('https://cdn.fontcdn.ir/Font/Persian/Yekan/Yekan.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

:root {
    /* پالت رنگی صنعتی و فنی */
    --primary-color: #005b96;
    --primary-light: #0077cc;
    --secondary-color: #ff6b35;
    --success-color: #4caf50;
    --danger-color: #e53935;
    --warning-color: #ffb300;
    --light-color: #f5f7fa;
    --dark-color: #263238;
    --text-color: #37474f;
    --text-muted: #78909c;
    --accent-color: #00acc1;

    /* متغیرهای طراحی */
    --border-radius: 0.5rem;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 300px;

    /* گرادیان‌های صنعتی */
    --industrial-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --mechanical-gradient: linear-gradient(135deg, var(--secondary-color) 0%, #ff9a3c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Yekan', 'Noto Naskh Arabic', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* تایپوگرافی صنعتی */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.75rem;
    color: var(--primary-light);
}

h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--secondary-color);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

a:hover::after {
    width: 100%;
    left: 0;
}

/* کلاس‌های متنی */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-light { color: var(--light-color) !important; }
.text-dark { color: var(--dark-color) !important; }
.text-muted { color: var(--text-muted) !important; }
/* استایل برای header-bg-image */
.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* استایل برای header-overlay */
.header-overlay {
    position: relative;
    z-index: 1;
    color: white;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.5);
}

/* استایل برای marquee-box */
.marquee-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.marquee-primary {
    border-right: 3px solid #0d6efd;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.marquee-content i {
    margin-left: 10px;
    font-size: 1.2rem;
}

/* استایل برای datetime-box */
.datetime-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.datetime-text {
    font-family: 'Yekan', sans-serif;
}

/* استایل برای slider-container */
.slider-container {
    position: relative;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider {
    position: relative;
    height: 400px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.slider-nav.prev {
    right: 15px;
}

.slider-nav.next {
    left: 15px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
}

.indicator.active {
    background-color: white;
}

/* استایل برای news-card */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 5px;
    z-index: 2;
    font-size: 0.9rem;
}

/* استایل برای icon-box */
.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* استایل برای scrollbar-hidden */
.scrollbar-hidden {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* استایل برای line-clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* استایل برای hover-text-primary */
.hover-text-primary:hover {
    color: #0d6efd !important;
}

/* استایل برای placeholder-wave */
.placeholder-wave {
    animation: placeholder-wave 1.5s linear infinite;
}

@keyframes placeholder-wave {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* استایل برای transition-scale */
.transition-scale {
    transition: transform 0.3s ease;
}

.transition-scale:hover {
    transform: scale(1.03);
}

/* استایل برای transition-all */
.transition-all {
    transition: all 0.3s ease;
}

/* استایل برای hover-shadow-lg */
.hover-shadow-lg:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* استایل برای btn-like */
.btn-like {
    padding: 0;
    background: none;
    cursor: pointer;
}

/* استایل برای icon-svg */
.icon-svg svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* استایل برای logo-img */
.logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
}

/* استایل برای footer */
.footer {
    background-color: #343a40;
    color: white;
}

.footer a {
    text-decoration: none;
}

.footer-title h5 {
    font-size: 1.1rem;
}

/* استایل برای rounded-4 */
.rounded-4 {
    border-radius: 0.8rem !important;
}

/* استایل برای stretched-link */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* دکمه‌های صنعتی */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #ff7d47;
    border-color: #ff7d47;
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #00bcd4;
    border-color: #00bcd4;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon i {
    font-size: 1.1em;
}

/* هدر صنعتی */
.header {
    position: relative;
    height: var(--header-height);
    overflow: hidden;
    background: var(--industrial-gradient);
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.75;
    filter: grayscale(30%);
}

.header-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    padding: 1rem;
}

.header-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

.marquee-box {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    overflow: hidden;
    flex-grow: 1;
    margin: 0 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(30%); }
    100% { transform: translateX(-100%); }
}

.datetime-box {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.datetime-box i {
    margin-left: 0.5rem;
    color: var(--secondary-color);
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--secondary-color);
}

/* منوی آبشاری صنعتی */
.dropdown-menu {
    background-color: white;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dropdown-item i {
    color: var(--secondary-color);
    width: 1.25rem;
    text-align: center;
}

.dropdown-divider {
    border-color: rgba(0, 0, 0, 0.05);
}

/* اسلایدر با نمایش تکی اسلایدها */
.slider-container {
    position: relative;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    opacity: 0;
}

.slider-container:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background-color: #fff;
    transform: scale(1.3);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* محتوای اصلی */
.main-content {
    flex: 1;
    padding: 2rem 0;
    background-color: white;
}

.section {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: var(--mechanical-gradient);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* کارت‌های صنعتی */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin-bottom: 1.5rem;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

.card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    z-index: 1;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    z-index: 1;
    font-weight: 600;
}

/* بخش چهره‌های شاخص */
.featured-faces {
    background-color: var(--light-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.featured-faces::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23f0f2f5" d="M0,0 L100,0 L100,100 L0,100 Z" /><path fill="none" stroke="%23e0e5eb" stroke-width="0.5" d="M0,0 L100,100 M100,0 L0,100" /></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

.face-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 100%;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.face-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.face-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.face-card:hover .face-img {
    transform: scale(1.05);
}

.face-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    padding: 1.5rem;
}

.face-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.face-title {
    font-size: 0.875rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* بخش اخبار */
.news-section {
    background-color: white;
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card {
    position: relative;
    height: 100%;
    transition: var(--transition);
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    z-index: 1;
    font-weight: 600;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.news-meta i {
    color: var(--secondary-color);
    margin-left: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-excerpt {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more i {
    margin-right: 0.5rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(-5px);
}

/* استایل برای بخش معرفی هنرستان */
.about-section {
    background-color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23f8f9fa" d="M0,0 L100,0 L100,100 L0,100 Z" /><path fill="none" stroke="%23e0e5eb" stroke-width="0.5" d="M0,0 L100,100 M100,0 L0,100" /></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

.about-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

/* استایل برای بخش آمار و ارقام */
.stats-section {
    background: var(--industrial-gradient);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* فوتر صنعتی */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%231a2a3a" d="M0,0 L100,0 L100,100 L0,100 Z" /><path fill="none" stroke="%232d3e4d" stroke-width="0.5" d="M0,0 L100,100 M100,0 L0,100" /></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-about {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
    position: relative;
    color: white;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(-5px);
}

.footer-links i {
    margin-left: 0.75rem;
    color: var(--secondary-color);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-left: 1rem;
    margin-top: 0.25rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
}

.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* دکمه بازگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--mechanical-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    font-size: 1.25rem;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* انیمیشن‌های صنعتی */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

.float {
    animation: float 3s infinite ease-in-out;
}

/* استایل‌های دسکتاپ */
@media (min-width: 992px) {
    .mobile-optimized-menu .nav-link span {
        display: inline;
    }

    .mobile-optimized-menu .nav-link i {
        margin-right: 0.3rem !important;
    }

    .mobile-optimized-menu .d-flex.align-items-center {
        display: flex !important;
    }

    .mobile-optimized-menu .user-avatar {
        display: none !important;
    }
}

/* استایل‌های موبایل */
@media (max-width: 991.98px) {
    .header {
        height: 240px;
    }

    .logo-img {
        height: 60px;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .marquee-box {
        margin: 0 0.5rem;
    }

    .datetime-box {
        font-size: 0.75rem;
    }

    .mobile-optimized-menu .nav-link span {
        display: none;
    }

    .mobile-optimized-menu .nav-link i {
        margin-right: 0 !important;
        font-size: 1.2rem;
    }

    .mobile-optimized-menu .dropdown-toggle::after {
        display: none;
    }

    .mobile-optimized-menu .navbar-nav {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }

    .mobile-optimized-menu .nav-item {
        text-align: center;
    }

    .mobile-optimized-menu .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 1rem 0;
        color: var(--dark-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
        background-color: transparent;
    }

    .nav-link::before {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin: 0.5rem 0;
    }

    .slider-container {
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        opacity: 1;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}
