:root {
    --primary: #0f4c81;
    --primary-dark: #0a3b68;
    --secondary: #ff6b35;
    --secondary-light: #ff8c5f;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: #f5f5f5;
    color: var(--dark);
    scroll-behavior: smooth;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.carousel-container {
    scroll-behavior: smooth;
}
.category-item:hover {
    background-color: #f0f9ff;
}


.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.product-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--gray-light);
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.nav-link {
    position: relative;
    transition: all 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
}

.timeline-item {
    position: relative;
    padding-right: 30px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--gray-light);
}

.timeline-item::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--secondary);
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: white;
}

.testimonial-card {
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    margin-left: 1rem;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
}










/* Slideshow Styles */
.slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
}

/* News Card Hover Effect */
.news-card {
    transition: all 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Event Card Hover Effect */
.event-card {
    transition: all 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Resource Card Hover Effect */
.resource-card {
    transition: all 0.3s ease;
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Ad Card Hover Effect */
.ad-card {
    transition: all 0.3s ease;
}
.ad-card:hover {
    transform: scale(1.03);
}

/* Breaking News Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    height: 3rem;
    background-color: #f44336;
    padding-left: 100%;
    box-sizing: content-box;
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: ticker;
    animation-duration: 30s;
}
.ticker-item {
    display: inline-block;
    padding: 0.75rem 2rem;
}
@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

/* Live Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
}
.live-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #f44336;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

/* Newsletter Form */
.newsletter-input {
    transition: all 0.3s ease;
}
.newsletter-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Social Media Icons */
.social-icon {
    transition: all 0.3s ease;
}
.social-icon:hover {
    transform: scale(1.2);
}

/* Accessibility Menu */
.accessibility-menu {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
}
.accessibility-toggle {
    width: 3rem;
    height: 3rem;
    background-color: #3b82f6;
    color: white;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.accessibility-panel {
    position: absolute;
    left: -250px;
    top: 0;
    width: 250px;
    background-color: white;
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: left 0.3s ease;
}
.accessibility-panel.open {
    left: 3rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.back-to-top.visible {
    opacity: 1;
}

/* Tab Styles */
.tab {
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}