:root {
    /* Corporate Color Palette - Minimal & Professional */
    --primary-corporate: #1E293B;
    --primary-accent: #0F172A;
    --secondary-corporate: #475569;
    --accent-corporate: #DC2626;
    --accent-corporate-light: #EF4444;
    
    /* Background Colors */
    --bg-corporate: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-dark: #0F172A;
    
    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --text-dark: #1E293B;
    
    /* Border & Divider */
    --border-corporate: #E2E8F0;
    --border-light: #F1F5F9;
    --border-dark: #CBD5E1;
    
    /* Legacy Support */
    --primary-red: #DC2626;
    --dark-red: #B91C1C;
    --light-red: #EF4444;
    --border-color: #E2E8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Vazirmatn;
    src: url(assets/font/Vazir.woff);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    padding-bottom: 0;
}

/* Skip to Content Link (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -100px;
    right: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary-corporate);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: top 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.skip-to-content:focus {
    top: 1rem;
    outline: 3px solid var(--accent-corporate);
    outline-offset: 2px;
}

@media (max-width: 968px) {
    body {
        padding-bottom: 90px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Desktop - Corporate Glassmorphism Floating Style */
.navbar-desktop {
    display: block;
}

.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(30, 41, 59, 0.08),
        0 2px 8px rgba(30, 41, 59, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navbarSlideDown 0.6s ease-out;
}

@keyframes navbarSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.navbar.scrolled {
    top: 1rem;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 
        0 12px 40px rgba(30, 41, 59, 0.12),
        0 4px 12px rgba(30, 41, 59, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(30, 41, 59, 0.15);
    transform: translateX(-50%) scale(0.98);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.1) 0%, 
        rgba(30, 41, 59, 0.05) 50%, 
        rgba(30, 41, 59, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    flex: 1;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-corporate);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-corporate);
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 900;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-accent);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.logo:hover .logo-icon::before {
    transform: scale(1);
}

.logo-icon span {
    position: relative;
    z-index: 1;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--primary-accent);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

.logo:hover .logo-text {
    transform: translateX(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-corporate);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-corporate);
    background: rgba(30, 41, 59, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.nav-link:active {
    background: rgba(30, 41, 59, 0.12);
    transform: scale(0.98);
}

.nav-search {
    background: rgba(255, 255, 255, 0.4);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-search:hover {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-download {
    background: var(--primary-corporate);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-download::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: left 0.5s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.25);
}

.btn-download:active {
    transform: scale(0.98);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Corporate Design - Professional & Modern */
.hero-corporate {
    position: relative;
    min-height: 100vh;
    background: var(--bg-corporate);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0 80px;
    isolation: isolate;
}

.hero-corporate-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.hero-geometric-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-corporate);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary-corporate);
    bottom: 15%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-corporate);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 111, 71, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 111, 71, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Corporate Content */
.hero-corporate-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Text Section */
.hero-text-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: heroTextFadeIn 1s ease-out;
}

@keyframes heroTextFadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    border-radius: 50px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: badgeSlideIn 0.8s ease-out 0.2s both;
}

@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-corporate);
    letter-spacing: 0.5px;
}

.badge-line {
    width: 30px;
    height: 2px;
    background: var(--primary-corporate);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.title-line {
    display: block;
    animation: titleLineReveal 0.8s ease-out both;
}

.title-line-1 {
    animation-delay: 0.3s;
}

.title-line-2 {
    animation-delay: 0.5s;
    color: var(--primary-corporate);
}

@keyframes titleLineReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-corporate);
    margin: 0;
    line-height: 1.6;
    animation: subtitleFadeIn 0.8s ease-out 0.7s both;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    animation: descriptionFadeIn 0.8s ease-out 0.9s both;
}

@keyframes descriptionFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats Preview */
.hero-stats-preview {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-corporate);
    border-bottom: 1px solid var(--border-corporate);
    animation: statsPreviewFadeIn 0.8s ease-out 1.1s both;
}

@keyframes statsPreviewFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-preview-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-preview-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-corporate);
    line-height: 1;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.stat-preview-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: ctaButtonsFadeIn 0.8s ease-out 1.3s both;
}

@keyframes ctaButtonsFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary-corporate,
.btn-secondary-corporate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-corporate {
    background: var(--primary-corporate);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

.btn-primary-corporate::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: left 0.5s ease;
}

.btn-primary-corporate:hover::before {
    left: 100%;
}

.btn-primary-corporate:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.3);
}

.btn-secondary-corporate {
    background: var(--bg-white);
    color: var(--primary-corporate);
    border: 2px solid var(--primary-corporate);
}

.btn-secondary-corporate:hover {
    background: var(--primary-corporate);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

.btn-primary-corporate i,
.btn-secondary-corporate i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-primary-corporate:hover i,
.btn-secondary-corporate:hover i {
    transform: translateX(-3px);
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    animation: heroImageFadeIn 1s ease-out 0.5s both;
}

@keyframes heroImageFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.1), transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: imageGlowPulse 3s ease-in-out infinite;
}

@keyframes imageGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-image-border {
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-corporate);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 23, 42, 0.05) 100%
    );
    pointer-events: none;
}

/* Remove overlay and fade effects on mobile */
@media (max-width: 968px) {
    .hero-image-overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .hero-image-glow {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .hero-image-border {
        opacity: 0.3 !important;
    }
    
    .hero-image-wrapper {
        filter: none !important;
    }
    
    .hero-image-wrapper * {
        filter: none !important;
    }
    
    .hero-image {
        filter: none !important;
        opacity: 1 !important;
        -webkit-filter: none !important;
    }
    
    .hero-image-wrapper:hover .hero-image {
        transform: none !important;
        filter: none !important;
    }
    
    .hero-image-section {
        filter: none !important;
        opacity: 1 !important;
    }
    
    .hero-image-section * {
        filter: none !important;
    }
    
    /* Remove background effects that might cause dimming */
    .hero-corporate-background {
        opacity: 0.3 !important;
    }
    
    .hero-grid-pattern {
        opacity: 0.2 !important;
    }
    
    .hero-geometric-shapes {
        opacity: 0.1 !important;
    }
    
    .shape {
        opacity: 0.05 !important;
        filter: blur(40px) !important;
    }
}

/* Floating Badge */
.hero-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    animation: floatingBadgeFloat 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatingBadgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-corporate);
    color: #ffffff;
    border-radius: 10px;
    font-size: 1.5rem;
}

.floating-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.badge-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.badge-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: scrollIndicatorPulse 2s ease-in-out infinite;
}

@keyframes scrollIndicatorPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-corporate);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-corporate);
    border-radius: 2px;
    animation: scrollWheelMove 1.5s ease-in-out infinite;
}

@keyframes scrollWheelMove {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Corporate Responsive */
@media (max-width: 1200px) {
    .hero-corporate-content {
        gap: 3rem;
    }
    
    .hero-stats-preview {
        gap: 1.5rem;
    }
    
    .stat-preview-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 968px) {
    .hero-corporate {
        padding: 100px 0 60px;
    }
    
    .hero-corporate-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text-section {
        align-items: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-stats-preview {
        justify-content: center;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    /* Hide scroll indicator on mobile */
    .hero-scroll-indicator {
        display: none !important;
    }
    
    .hero-floating-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 2rem auto 0;
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .hero-corporate {
        padding: 80px 0 40px;
    }
    
    .hero-corporate-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats-preview {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-corporate,
    .btn-secondary-corporate {
        width: 100%;
        justify-content: center;
    }
    
    .hero-floating-badge {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .shape {
        display: none;
    }
}

/* Standard Sections with Advanced Animations */
.section-standard {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.section-standard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-corporate);
    opacity: 0.5;
}

/* Section Reveal Animation */
.section-standard {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-standard.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Section - Corporate Professional Design */
.stats-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Subtle Background Pattern */
.stats-background-animation {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.stats-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    animation: floatOrb 25s ease-in-out infinite;
}

.stats-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-corporate);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.stats-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary-corporate);
    top: 50%;
    right: 15%;
    animation-delay: 8s;
}

.stats-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-corporate);
    bottom: -50px;
    left: 50%;
    animation-delay: 16s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    /* جابه‌جایی جزئی به راست برای قرارگیری باکس‌ها در وسط */
    transform: translateX(24px);
}

/* Corporate Stat Card */
.stat-card {
    position: relative;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: statCardFadeIn 0.8s ease-out forwards;
}

.stat-card.animated {
    animation: statCardFadeIn 0.8s ease-out forwards;
}

@keyframes statCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: 0;
    padding: 3rem 2.5rem;
    border: 1px solid var(--border-corporate);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: center;
    position: relative;
}

.stat-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-corporate);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover .stat-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-corporate);
}

.stat-card:hover .stat-card-inner::before {
    transform: scaleX(1);
}

/* Corporate Stat Elements */
.stat-gradient-overlay {
    display: none;
}

.stat-particles {
    display: none;
}

/* Corporate Icon Wrapper */
.stat-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon-wrapper {
    transform: translateY(-4px);
}

.stat-icon-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-corporate);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon-bg {
    background: var(--primary-corporate);
    border-color: var(--primary-corporate);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.stat-icon {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-corporate);
    transition: all 0.4s ease;
}

.stat-icon i {
    display: inline-block;
    transition: transform 0.4s ease;
}

.stat-card:hover .stat-icon {
    color: #ffffff;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.1);
}

.stat-icon-glow {
    display: none;
}

/* Corporate Content Styling */
.stat-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-corporate);
    line-height: 1;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-corporate);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.4s ease;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    color: var(--primary-accent);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.2px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-label {
    color: var(--text-primary);
}

/* Corporate Progress Bar */
.stat-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-top: 1.5rem;
}

.stat-progress-fill {
    height: 100%;
    width: 0;
    background: var(--primary-corporate);
    border-radius: 2px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-card:hover .stat-progress-fill {
    width: 100%;
}

/* Shine Effect - Subtle */
.stat-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.stat-card:hover .stat-shine {
    left: 100%;
    transition: left 0.6s ease;
}

/* Magnetic Hover Effect */
.stat-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-card-inner {
        padding: 2.5rem 2rem;
    }
    
    .stat-icon-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .stat-icon {
        font-size: 2.25rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat-card-inner {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-plus {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stats-orb {
        display: none;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: titleReveal 0.8s ease-out;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-corporate);
    border-radius: 2px;
    animation: titleUnderlineExpand 0.8s ease-out 0.3s both;
}

@keyframes titleUnderlineExpand {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 1.5rem;
    animation: subtitleReveal 0.8s ease-out 0.2s both;
}

@keyframes subtitleReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-corporate);
    overflow: hidden;
    color: var(--text-dark);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-blur {
    position: absolute;
    filter: blur(80px);
    opacity: 0.65;
    z-index: 1;
    pointer-events: none;
}

.about-blur-1 {
    width: 280px;
    height: 280px;
    top: 5%;
    right: 10%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15), transparent 60%);
}

.about-blur-2 {
    width: 320px;
    height: 320px;
    bottom: 0;
    left: 5%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.12), transparent 65%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--text-dark);
}

.about-kicker {
    color: var(--primary-red);
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.about-heading {
    font-size: clamp(2.1rem, 5vw, 3rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    font-weight: 900;
}

.about-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 620px;
}

.about-seo-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 620px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.about-list li {
    position: relative;
    padding-right: 1.75rem;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.55rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.18);
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.about-btn {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #dc2626 100%);
    color: #fff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(239, 68, 68, 0.45);
}

.about-secondary {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-card {
    position: relative;
    background: var(--bg-white);
    border-radius: 0;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border-corporate);
    width: 70%;
    margin: 0 auto;
    transition: all 0.4s ease;
    animation: aboutCardReveal 0.8s ease-out 0.3s both;
}

@keyframes aboutCardReveal {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-corporate);
}

.about-card-glow {
    display: none;
}

.about-card-figure {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.about-card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
}

.about-dots {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 25%),
        radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.12), transparent 30%),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.1), transparent 30%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.about-card-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.about-chip {
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    color: #0f172a;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.about-card-footer {
    position: absolute;
    left: 1.75rem;
    right: 1.75rem;
    bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.56) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.about-metric {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.3;
}

.about-metric-sub {
    color: #0f172a;
    opacity: 0.8;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    display: grid;
    place-items: center;
    color: #0f172a;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-icon i {
    display: inline-block;
}

@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 90px 0;
    }

    .about-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-btn {
        width: 100%;
        text-align: center;
    }

    .about-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Ongoing Projects Section - Corporate Style */
#ongoing-projects {
    background: var(--bg-white);
    position: relative;
}

#ongoing-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.ongoing-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ongoing-project-card {
    background: var(--bg-white);
    border-radius: 0;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-corporate);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: projectCardReveal 0.6s ease-out forwards;
}

@keyframes projectCardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ongoing-project-card:nth-child(1) { animation-delay: 0.1s; }
.ongoing-project-card:nth-child(2) { animation-delay: 0.2s; }
.ongoing-project-card:nth-child(3) { animation-delay: 0.3s; }

.ongoing-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-corporate);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.ongoing-project-card:hover::before {
    transform: scaleX(1);
}

.ongoing-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-corporate);
}

.project-card-header {
    padding: 1.5rem 1.75rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-corporate);
    position: relative;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-corporate);
    position: relative;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-corporate);
    opacity: 0;
    animation: statusRipple 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes statusRipple {
    0% {
        opacity: 0.6;
        transform: scale(0.8);
    }
    50% {
        opacity: 0;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.status-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-corporate);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-card-body {
    padding: 1.75rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.ongoing-project-card:hover .project-title {
    color: var(--primary-corporate);
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.125rem;
    background: var(--bg-light);
    border-radius: 0;
    border: 1px solid var(--border-corporate);
    transition: all 0.3s ease;
    position: relative;
}

.project-detail-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-corporate);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.project-detail-item:hover::before {
    transform: scaleY(1);
}

.project-detail-item:hover {
    background: var(--bg-white);
    border-color: var(--primary-corporate);
    transform: translateX(-4px);
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-corporate);
    color: white;
    border-radius: 6px;
    font-size: 1rem;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    background: var(--bg-light);
    border-radius: 0;
    border: 1px solid var(--border-corporate);
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.project-badge:hover {
    background: var(--primary-corporate);
    color: white;
    border-color: var(--primary-corporate);
}

.badge-icon {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .ongoing-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .ongoing-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-title {
        font-size: 1.25rem;
    }
    
    .project-detail-item {
        padding: 1rem;
    }
    
    .detail-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .project-card-header {
        padding: 1.25rem 1.5rem;
    }
    
    .project-card-body {
        padding: 1.5rem;
    }
}

/* Additional Services Section */
.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-white);
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-corporate);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: serviceCardReveal 0.6s ease-out forwards;
}

@keyframes serviceCardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-corporate);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-corporate);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-corporate);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover .service-icon-wrapper {
    transform: translateY(-4px);
    background: var(--primary-corporate);
    border-color: var(--primary-corporate);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.service-card:hover .service-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.service-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-corporate);
    transition: all 0.4s ease;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05) 0%, rgba(69, 183, 209, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.15);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    padding-right: 2.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-corporate);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.service-features li {
    background: var(--bg-light);
    border-color: var(--border-corporate);
}

.service-features li:hover {
    background: var(--bg-white);
    border-color: var(--primary-corporate);
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-features li {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
        padding-right: 2.25rem;
    }
}

/* Skills Section - Professional Corporate Design */
.skills-section-professional {
    padding: 120px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* اطمینان از این‌که کارت‌های مهارت محو نمی‌شوند (override هر استایل قبلی) */
.skills-section-professional,
.skills-section-professional .skills-category-professional {
    opacity: 1 !important;
}

.skills-section-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.skills-preview-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills-preview-section .container {
    display: block;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.skills-preview-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-corporate);
    position: relative;
    z-index: 1;
}

.skills-preview-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.skills-preview-header .section-title {
    margin-bottom: 0.5rem;
}

.skills-preview-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.skills-preview-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.skill-chip i {
    font-size: 1.1rem;
    opacity: 0.85;
    color: var(--primary-corporate);
}

.skill-chip:hover {
    background: rgba(30, 41, 59, 0.06);
    border-color: var(--primary-corporate);
    transform: translateY(-1px);
}

.skills-preview-hint {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
    margin: 0 0 1.5rem;
}

.skills-preview-cta {
    text-align: center;
}

.skills-preview-cta .skills-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .skills-preview-card {
        padding: 1.75rem 1.25rem;
    }
    .skills-preview-chips {
        gap: 0.5rem;
    }
    .skill-chip {
        padding: 0.45rem 0.85rem;
        font-size: 0.85rem;
    }
}

.skills-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

#skills .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

#skills .container > .section-header {
    margin-bottom: 4rem;
}

#skills .container {
    display: grid;
    gap: 2.5rem;
}

/* Professional Skills Category Card */
.skills-category-professional {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.skills-category-professional:hover {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Category Header Professional */
.category-header-professional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border-bottom: 2px solid #f3f4f6;
}

.category-header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.category-icon-wrapper {
    position: relative;
}

.category-icon-badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skills-category-professional:hover .category-icon-badge {
    background: #111827;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-icon-badge i {
    display: block;
}

.category-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.category-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-header-right {
    display: flex;
    align-items: center;
}

.category-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.category-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.category-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-divider {
    height: 2px;
    background: #f3f4f6;
    margin: 0;
}

/* Professional Skills List */
.skills-list-professional {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    background: #ffffff;
}

/* Professional Skill Item */
.skill-item-professional {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.skill-name-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
}

.skill-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.skill-badge-expert {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.skill-badge-advanced {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.skill-badge-intermediate {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.skill-percentage-display {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.skill-percentage-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.skill-percentage-unit {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
}

/* Professional Skill Bar */
.skill-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-bar-track {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e5e7eb;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: #1f2937;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    animation: skillBarShine 2s ease-in-out infinite;
}

@keyframes skillBarShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skill-bar-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #1f2937;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.skill-bar-label-start,
.skill-bar-label-end {
    line-height: 1;
}

/* Legacy Support */
.skills-category {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.skills-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.3) 0%,
        rgba(147, 51, 234, 0.3) 25%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(34, 197, 94, 0.3) 75%,
        rgba(220, 38, 38, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.skills-category::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.skills-category:hover {
    transform: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.skills-category:hover::before {
    opacity: 0;
}

.skills-category:hover::after {
    opacity: 0;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.skills-category:hover .category-header::after {
    width: 0;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-red) 50%, var(--text-dark) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.03em;
    position: relative;
    animation: titleGradient 3s ease infinite;
}

@keyframes titleGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.category-icon {
    font-size: 2.25rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.category-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(147, 51, 234, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skills-category:hover .category-icon {
    transform: none;
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.skills-category:hover .category-icon::before {
    opacity: 0;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.skill-percentage {
    display: none; /* Hide percentage badge, it's shown in the handle */
}

.skill-bar {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    overflow: visible;
    position: relative;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    padding: 0 5px;
    position: relative;
    direction: rtl;
}

.skill-value-start,
.skill-value-end {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6B7280;
    font-family: 'Courier New', monospace;
    z-index: 5;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    pointer-events: none;
    line-height: 40px;
}

.skill-value-start {
    right: 12px; /* 0 در سمت راست */
}

.skill-value-end {
    left: 12px; /* 100 در سمت چپ */
}

.skill-progress {
    height: 16px;
    background: linear-gradient(180deg, #eef2f7 0%, #e5e7eb 100%);
    border-radius: 999px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.04),
        0 6px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.5);
    margin: 8px 0;
    display: block;
    margin-right: 0;
    margin-left: auto; /* از راست شروع می‌شود */
}

.skill-progress::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(209, 233, 255, 0.35) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(209, 233, 255, 0.35) 100%);
    filter: blur(6px);
    opacity: 0.8;
    border-radius: 999px;
    pointer-events: none;
}

.skill-progress::after {
    content: attr(data-progress);
    position: absolute;
    left: 4px; /* Handle داخل progress bar */
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.7rem;
    box-shadow: 
        0 6px 14px rgba(59, 130, 246, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.08);
    z-index: 10;
    font-family: 'Courier New', 'SF Mono', 'Monaco', monospace;
    letter-spacing: 0.5px;
    line-height: 1;
    border: 1px solid rgba(148, 163, 184, 0.5);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.skill-progress::after:hover {
    box-shadow: 
        0 6px 16px rgba(59, 130, 246, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.08);
    transform: translateY(-50%) scale(1.04);
}


/* Mobile Development Description - Professional */
.mobile-description {
    background: #ffffff;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    border-top: none;
    position: relative;
}

.mobile-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin: 0;
    text-align: justify;
}

/* Legacy Skills Support */
.skills-list {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    background: #ffffff;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
}

.skill-percentage {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e5e7eb;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: #1f2937;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-progress::after {
    content: attr(data-progress) '%';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.625rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', 'SF Mono', monospace;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border-bottom: 2px solid #f3f4f6;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
}

.category-icon {
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    #skills .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-header-professional,
    .category-header {
        padding: 1.75rem 2rem;
    }
    
    .skills-list-professional,
    .skills-list {
        padding: 1.75rem 2rem;
    }
    
    .category-icon-badge,
    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .category-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .skills-section-professional {
        padding: 80px 0;
    }
    
    .category-header-professional {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .category-header-left {
        width: 100%;
    }
    
    .category-header-right {
        width: 100%;
    }
    
    .category-stats {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .category-count {
        font-size: 1.25rem;
    }
    
    .skills-list-professional,
    .skills-list {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .skill-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .skill-name-section {
        width: 100%;
    }
    
    .skill-percentage-display {
        align-self: flex-end;
    }
    
    .skill-name {
        font-size: 0.95rem;
    }
    
    .skill-percentage-value {
        font-size: 1.25rem;
    }
    
    .mobile-description {
        padding: 1.5rem;
    }
    
    .mobile-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.mobile-description::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.4) 0%,
        rgba(147, 51, 234, 0.4) 50%,
        rgba(220, 38, 38, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    z-index: -1;
}

.mobile-description::after {
    content: '📱';
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 252, 0.98) 100%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    z-index: 2;
}

.mobile-description::after::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.4), rgba(147, 51, 234, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.mobile-description:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(220, 38, 38, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mobile-description:hover::after {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 
        0 12px 32px rgba(220, 38, 38, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-description p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    margin: 0;
    text-align: justify;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

/* Certificates Section - Corporate Style */
#certificates {
    background: var(--bg-light);
    position: relative;
}

#certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.certificates-preview-section .certificates-preview-grid {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, 1fr);
}

.certificates-preview-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.certificates-preview-cta .certificates-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.certificate-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-corporate);
    opacity: 0;
    transform: translateY(30px);
    animation: certificateReveal 0.6s ease-out forwards;
}

@keyframes certificateReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.certificate-item:nth-child(1) { animation-delay: 0.1s; }
.certificate-item:nth-child(2) { animation-delay: 0.2s; }
.certificate-item:nth-child(3) { animation-delay: 0.3s; }
.certificate-item:nth-child(4) { animation-delay: 0.4s; }
.certificate-item:nth-child(5) { animation-delay: 0.5s; }
.certificate-item:nth-child(6) { animation-delay: 0.6s; }

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-corporate);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.certificate-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-corporate);
}

.certificate-item:hover::before {
    transform: scaleX(1);
}

.certificate-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-light);
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(20%);
}

.certificate-item:hover .certificate-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.certificate-item:hover .certificate-overlay {
    opacity: 1;
}

.certificate-view-btn {
    padding: 0.875rem 2.25rem;
    background: var(--primary-corporate);
    color: white;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.certificate-view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.certificate-view-btn:hover::before {
    left: 0;
}

.certificate-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

/* Certificate Modal - Corporate Style */
.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.certificate-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    animation: overlayFadeIn 0.3s ease;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    z-index: 2001;
    max-width: 90%;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: 0;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-corporate);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-corporate);
    z-index: 1;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    padding: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    background: var(--primary-corporate);
    color: white;
    border: none;
    border-radius: 0;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background: var(--primary-accent);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Portfolio Image Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-modal.active {
    display: flex;
}

.portfolio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-modal-content {
    position: relative;
    z-index: 2001;
    max-width: 95%;
    max-height: 95vh;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: portfolioModalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes portfolioModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-modal-content img {
    width: 100%;
    height: auto;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}

.portfolio-image {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-image:hover {
    opacity: 0.95;
}

.portfolio-image img {
    pointer-events: auto;
}

.portfolio-overlay h3,
.portfolio-overlay p {
    pointer-events: auto;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-light);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-preview-section .portfolio-preview-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-preview-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.portfolio-preview-cta .portfolio-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-corporate);
    opacity: 0;
    transform: translateY(30px);
    animation: portfolioItemReveal 0.6s ease-out forwards;
}

@keyframes portfolioItemReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-corporate);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-corporate);
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    pointer-events: auto;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.portfolio-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(220, 38, 38, 0.25),
        0 3px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.portfolio-btn:hover::before {
    left: 100%;
}

.portfolio-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.portfolio-btn:hover svg {
    transform: translateX(3px);
}

.portfolio-btn span {
    position: relative;
    z-index: 1;
}

/* Services Section */
/* Services Pricing Section - Improved Design */
.services-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 252, 0.98) 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        #4ecdc4 0%,
        #45b7d1 25%,
        #96ceb4 50%,
        #ffeaa7 75%,
        #ff6b6b 100%);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

.pricing-card.subscription-plan::before {
    background: linear-gradient(90deg, 
        #4ecdc4 0%,
        #45b7d1 50%,
        #4ecdc4 100%);
}

.pricing-card.fixed-plan::before {
    background: linear-gradient(90deg, 
        #96ceb4 0%,
        #ffeaa7 50%,
        #96ceb4 100%);
}

.pricing-card:hover {
    transform: none;
    box-shadow: 
        0 12px 36px rgba(15, 23, 42, 0.12),
        0 6px 18px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

.pricing-card-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 249, 250, 0.5) 100%);
}

.plan-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15) 0%, rgba(69, 183, 209, 0.15) 100%);
    border-radius: 20px;
    border: 2px solid rgba(78, 205, 196, 0.25);
    transition: none;
    box-shadow: 
        0 4px 12px rgba(78, 205, 196, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pricing-card:hover .plan-icon-wrapper {
    transform: none;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.15) 0%, rgba(226, 232, 240, 0.18) 100%);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 
        0 8px 20px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.plan-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.plan-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.plan-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(69, 183, 209, 0.2) 100%);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-top: 0.5rem;
}

.pricing-card-body {
    padding: 0 2rem 2rem;
    flex: 1;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05) 0%, rgba(69, 183, 209, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(78, 205, 196, 0.15);
    transition: all 0.3s ease;
}

.plan-features li:hover {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(69, 183, 209, 0.1) 100%);
    border-color: rgba(78, 205, 196, 0.25);
    transform: translateX(4px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4ecdc4;
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(78, 205, 196, 0.3);
}

.feature-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.pricing-card-footer {
    padding: 0 2rem 2rem;
}

/* Premium pricing cards (Services section) */
.premium-card {
    position: relative;
    background: linear-gradient(145deg, #faf9f6 0%, #f5f3ed 55%, #ede6da 100%);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.14),
        0 10px 26px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    direction: rtl;
    text-align: right;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.16),
        0 12px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.premium-card-inner {
    background: linear-gradient(145deg, #ffffff 0%, #faf6ef 50%, #f3ece2 100%);
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    direction: rtl;
    text-align: right;
}

.premium-card-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.premium-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f5f0e6 0%, #e8dece 100%);
    display: grid;
    place-items: center;
    color: #6b5233;
    font-size: 1.2rem;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.premium-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.98rem;
    color: #6b7280;
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #374151;
    font-weight: 600;
    justify-content: flex-start;
}

.premium-bullet {
    font-size: 1.2rem;
    color: #b08d63;
}

.premium-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.premium-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-dark);
}

.premium-price-sub {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 0.2rem;
}

.premium-badge {
    background: #f4ede1;
    color: #3b322c;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.premium-cta-layer {
    position: relative;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    margin-top: -0.5rem;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.premium-cta-text {
    text-align: center;
    color: #f9fafb;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .premium-card {
        padding: 1.5rem;
    }

    .premium-card-inner {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .premium-pricing {
        flex-direction: column;
        align-items: flex-start;
    }
}
.plan-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
}

.plan-btn:hover::before {
    left: 100%;
}

/* ========== Contact Section - Redesigned ========== */

/* Contact Preview (صفحه اصلی) */
.contact-preview-section .container {
    max-width: 640px;
    margin-inline: auto;
}

.contact-preview-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-corporate);
}

.contact-preview-card .section-title {
    margin-bottom: 0.75rem;
}

.contact-preview-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
    margin: 0 0 1.5rem;
}

.contact-preview-cta .contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-section {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, var(--bg-corporate) 0%, var(--bg-light) 40%, rgba(255,255,255,0.97) 100%);
}

.contact-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(30, 41, 59, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(30, 41, 59, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.contact-container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-side {
    padding: 0.5rem 0;
}

.contact-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-corporate);
    margin-bottom: 0.75rem;
}

.contact-heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.contact-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 90%;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(30, 41, 59, 0.04);
}

.contact-channel:hover {
    border-color: var(--accent-corporate);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
    transform: translateX(-4px);
}

.contact-channel-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--accent-corporate);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-channel:hover .contact-channel-icon {
    background: var(--accent-corporate);
    color: white;
}

.contact-channel-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.contact-channel-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-channel-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-channel-arrow {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(4px);
    transition: all 0.25s ease;
}

.contact-channel:hover .contact-channel-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-corporate);
}

.contact-socials-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    display: block;
}

.contact-socials-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.25s ease;
}

.contact-social-btn:hover {
    background: var(--primary-corporate);
    border-color: var(--primary-corporate);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 41, 59, 0.2);
}

.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-corporate);
}

.contact-form-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.contact-form-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.contact-form {
    /* form layout kept for script.js */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group-full {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-corporate);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Vazirmatn', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-corporate);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary-corporate);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Vazirmatn', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.25);
}

.btn-submit:disabled {
    background: #64748B;
    cursor: not-allowed;
    transform: none;
    opacity: 0.8;
}

/* فیلد کلیکی موضوع + مودال انتخاب موضوع */
.subject-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-corporate);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Vazirmatn', sans-serif;
    text-align: right;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.subject-trigger:hover {
    border-color: var(--accent-corporate);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.subject-trigger-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subject-trigger[data-selected="true"] .subject-trigger-text {
    color: var(--text-dark);
}

.subject-trigger:not([data-selected="true"]) .subject-trigger-text {
    color: var(--text-light);
}

.subject-trigger-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.subject-picker-modal[aria-hidden="false"] .subject-trigger-icon {
    transform: rotate(180deg);
}

/* مودال انتخاب موضوع - صفحه‌ای روی فرم */
.subject-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.subject-picker-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.subject-picker-modal[hidden] {
    display: none !important;
}

.subject-picker-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.subject-picker-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(30, 41, 59, 0.2);
    border: 1px solid var(--border-corporate);
    display: flex;
    flex-direction: column;
    animation: subjectPickerIn 0.3s ease;
}

@keyframes subjectPickerIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.subject-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-corporate);
    flex-shrink: 0;
}

.subject-picker-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.subject-picker-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.subject-picker-close:hover {
    background: var(--accent-corporate);
    color: white;
}

.subject-picker-body {
    padding: 1rem 1.5rem 1.5rem;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

.subject-picker-group {
    margin-bottom: 1.25rem;
}

.subject-picker-group:last-child {
    margin-bottom: 0;
}

.subject-picker-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.6rem 0;
    padding: 0;
}

.subject-picker-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.subject-picker-option {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: right;
    border: 1px solid var(--border-corporate);
    border-radius: 10px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.subject-picker-option:hover {
    background: var(--bg-light);
    border-color: var(--accent-corporate);
    color: var(--accent-corporate);
}

.subject-picker-option:focus {
    outline: none;
    border-color: var(--accent-corporate);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

@media (max-width: 600px) {
    .subject-picker-modal {
        padding: 0.75rem;
        align-items: flex-end;
    }
    .subject-picker-panel {
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }
    .subject-picker-body {
        max-height: calc(90vh - 76px);
    }
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-form-wrap {
        order: -1;
    }
    .contact-lead {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 3.5rem 0 4rem;
    }
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Form Notification */
.form-notification {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-notification::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.form-notification-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.form-notification-success::before {
    background: #10b981;
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.form-notification-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.form-notification-error::before {
    background: #ef4444;
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Navigation Mobile - Bottom Glassmorphism Style */
.navbar-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 1rem 1rem;
    pointer-events: none;
}

.navbar-mobile-container {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 -8px 32px rgba(30, 41, 59, 0.12),
        0 -2px 8px rgba(30, 41, 59, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    gap: 1rem;
    pointer-events: all;
    animation: mobileNavSlideUp 0.5s ease-out;
}

@keyframes mobileNavSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-corporate);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
    position: relative;
    overflow: hidden;
}

.mobile-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-accent);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.mobile-nav-btn:hover::before,
.mobile-nav-btn:active::before {
    transform: scale(1);
}

.mobile-nav-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.mobile-nav-btn:active i {
    transform: scale(1.1);
}

.mobile-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 41, 59, 0.3);
}

.mobile-nav-btn:active {
    transform: translateY(0) scale(0.95);
}

.mobile-nav-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-corporate);
    text-align: center;
}

.mobile-nav-chat {
    order: 1;
}

.mobile-nav-logo {
    order: 2;
}

.mobile-nav-call {
    order: 3;
}

/* Desktop Chat Button - Floating Right */
.desktop-chat-btn {
    position: fixed;
    bottom: 4vh;
    right: 4vh;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(30, 41, 59, 0.15);
    color: var(--primary-corporate);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    z-index: 998;
    box-shadow: 
        0 8px 24px rgba(30, 41, 59, 0.15),
        0 4px 12px rgba(30, 41, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: visible;
}

.desktop-chat-btn:hover {
    background: var(--primary-corporate);
    color: white;
    transform: scale(1.1);
    box-shadow: 
        0 12px 32px rgba(30, 41, 59, 0.25),
        0 6px 16px rgba(30, 41, 59, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.desktop-chat-btn:active {
    transform: scale(1.05);
}

.desktop-chat-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-accent);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Show desktop chat button on desktop */
@media (min-width: 969px) {
    .desktop-chat-btn {
        display: flex;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(30, 41, 59, 0.1);
    color: var(--primary-corporate);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    z-index: 999;
    box-shadow: 
        0 4px 16px rgba(30, 41, 59, 0.12),
        0 2px 8px rgba(30, 41, 59, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.scroll-to-top:hover {
    background: var(--primary-corporate);
    color: white;
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(30, 41, 59, 0.2),
        0 4px 12px rgba(30, 41, 59, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.scroll-to-top:active {
    transform: translateX(-50%) translateY(-2px) scale(0.95);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Scroll to Top Button - Mobile Position (on edge of mobile nav) */
@media (max-width: 968px) {
    .scroll-to-top {
        top: auto;
        bottom: calc(1rem + 60px);
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        font-size: 1rem;
        z-index: 1001;
    }

    .scroll-to-top:hover {
        transform: translateX(-50%);
    }

    .scroll-to-top:active {
        transform: translateX(-50%) scale(0.95);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar-desktop {
        display: none !important;
    }

    .navbar-mobile {
        display: block;
    }

    .nav-container {
        padding: 0.875rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: none;
        border-top: 1px solid rgba(30, 41, 59, 0.1);
        border-radius: 0;
        width: 100%;
        padding: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(30, 41, 59, 0.12);
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        gap: 0.5rem;
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .nav-link {
        padding: 1rem;
        border-radius: 6px;
        width: 100%;
        text-align: right;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--bg-light);
        color: var(--primary-corporate);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .logo {
        font-size: 1.1rem;
    }

    .btn-download {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    #skills .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .stat-icon {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    #skills .container {
        grid-template-columns: 1fr;
    }

    .skills-category {
        padding: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .mobile-description {
        padding: 1.5rem;
    }

    .mobile-description p {
        font-size: 1rem;
    }

    .skill-bar {
        height: 35px;
        padding: 0 25px;
    }

    .skill-progress {
        height: 25px;
    }

    .skill-progress::after {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
        left: 2px;
    }

    .skill-value-start,
    .skill-value-end {
        font-size: 0.75rem;
    }

    .skill-value-start {
        left: 6px;
    }

    .skill-value-end {
        right: 6px;
    }

    .services-pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card-header {
        padding: 2rem 1.5rem 1.25rem;
    }
    
    .plan-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .plan-icon {
        font-size: 2.25rem;
    }
    
    .plan-title {
        font-size: 1.5rem;
    }
    
    .pricing-card-body {
        padding: 0 1.5rem 1.5rem;
    }
    
    .plan-features li {
        padding: 0.875rem 1rem;
    }
    
    .feature-text {
        font-size: 0.95rem;
    }
    
    .pricing-card-footer {
        padding: 0 1.5rem 1.5rem;
    }

    .nav-container {
        padding: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-red);
    color: white;
}

/* Improved Focus Indicators (Accessibility) */
*:focus-visible {
    outline: 3px solid var(--accent-corporate);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-corporate);
    outline-offset: 2px;
}

/* Keyboard Navigation Improvements */
.nav-link:focus,
.btn-download:focus,
.mobile-nav-btn:focus,
.scroll-to-top:focus,
.desktop-chat-btn:focus {
    outline: 3px solid var(--accent-corporate);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Skip Link Focus */
.skip-to-content:focus {
    outline: 3px solid var(--accent-corporate);
    outline-offset: 2px;
}

/* AI Chat Panel - Support Chat Style (Opens from bottom) */
.ai-chat-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    pointer-events: none;
}

.ai-chat-modal.active {
    display: flex;
    pointer-events: none; /* Changed: Allow page scroll on desktop */
}

/* On desktop, only the container should have pointer-events */
@media (min-width: 969px) {
    .ai-chat-modal.active {
        pointer-events: none; /* Modal itself doesn't block */
    }
    
    .ai-chat-modal.active .ai-chat-container {
        pointer-events: all; /* Only container is interactive */
    }
}

/* On mobile, modal blocks everything (full-screen) */
@media (max-width: 968px) {
    .ai-chat-modal.active {
        pointer-events: all; /* Block scroll on mobile */
    }
}

.ai-chat-overlay {
    display: none; /* No overlay for support chat style */
}

.ai-chat-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: 20px 20px 0 0;
    box-shadow: 
        0 -8px 32px rgba(30, 41, 59, 0.2),
        0 -2px 8px rgba(30, 41, 59, 0.1);
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-bottom: none;
    overflow: hidden;
    margin: 0 auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: chatPanelSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ai-chat-modal.active .ai-chat-container {
    transform: translateY(0);
}

@keyframes chatPanelSlideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Chat Panel - Positioned above chat button */
@media (min-width: 969px) {
    .ai-chat-container {
        position: fixed;
        bottom: calc(2vh + 80px); /* Above chat button (64px + 16px gap) */
        right: 2vh;
        left: auto;
        margin: 0;
        border-radius: 20px;
        border: 1px solid rgba(30, 41, 59, 0.1);
        box-shadow: 
            0 20px 60px rgba(30, 41, 59, 0.25),
            0 8px 24px rgba(30, 41, 59, 0.15);
        max-width: 400px;
        height: 650px;
        max-height: 75vh;
    }
}

/* Chat Header */
.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-corporate);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ai-chat-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-corporate);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-chat-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ai-chat-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.ai-chat-status {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
    display: inline-block;
}

.ai-chat-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.ai-chat-close:hover {
    background: var(--primary-corporate);
    color: white;
    transform: rotate(90deg);
}

/* Chat Messages Area */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-light);
}

.ai-chat-message {
    display: flex;
    gap: 1rem;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-message-user {
    flex-direction: row-reverse;
}

.ai-chat-message-assistant {
    flex-direction: row;
}

.ai-chat-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-corporate);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ai-chat-message-user .ai-chat-message-avatar {
    background: var(--primary-accent);
}

.ai-chat-message-content {
    max-width: 75%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ai-chat-message-user .ai-chat-message-content {
    background: var(--primary-corporate);
    color: white;
    border-color: var(--primary-corporate);
}

.ai-chat-message-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.ai-chat-message-user .ai-chat-message-content p {
    color: white;
}

/* Chat Input */
.ai-chat-input-container {
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-corporate);
}

.ai-chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-corporate);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.ai-chat-input-wrapper:focus-within {
    border-color: var(--primary-corporate);
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.ai-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
}

.ai-chat-input:focus {
    outline: none;
}

.ai-chat-input::placeholder {
    color: var(--text-secondary);
}

.ai-chat-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-corporate);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ai-chat-send-btn:hover:not(:disabled) {
    background: var(--primary-accent);
    transform: scale(1.05);
}

.ai-chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Typing Indicator - Inside Messages Area */
.ai-chat-typing-indicator {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0.5rem 0;
    animation: typingFadeIn 0.3s ease;
}

@keyframes typingFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-typing-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ai-chat-typing-content span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.ai-chat-typing-content span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-chat-typing-content span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* FAQ Quick Questions */
.ai-chat-faq-container {
    padding: 1.5rem;
    animation: faqFadeIn 0.5s ease;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-faq-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.ai-chat-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.ai-chat-faq-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-corporate);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Vazirmatn', sans-serif;
}

.ai-chat-faq-item:hover {
    background: var(--primary-corporate);
    border-color: var(--primary-corporate);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.ai-chat-faq-item:hover i,
.ai-chat-faq-item:hover span {
    color: white;
}

.ai-chat-faq-item i {
    font-size: 1.5rem;
    color: var(--primary-corporate);
    transition: all 0.3s ease;
}

.ai-chat-faq-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* FAQ will be hidden via JavaScript when messages are added */

/* Mobile Responsive */
@media (max-width: 768px) {
    .ai-chat-container {
        max-width: 100%;
        height: 70vh;
        border-radius: 20px 20px 0 0;
        margin: 0;
    }
    
    .ai-chat-header {
        padding: 1rem;
    }
    
    .ai-chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .ai-chat-title {
        font-size: 1rem;
    }
    
    .ai-chat-messages {
        padding: 1rem;
        gap: 1rem;
    }
    
    .ai-chat-message-content {
        max-width: 85%;
        padding: 0.875rem 1rem;
    }
    
    .ai-chat-input-container {
        padding: 1rem;
    }
    
    .ai-chat-input-wrapper {
        padding: 0.625rem 0.875rem;
    }
    
    .ai-chat-faq-container {
        padding: 1rem;
    }
    
    .ai-chat-faq-grid {
        gap: 0.5rem;
    }
    
    .ai-chat-faq-item {
        padding: 0.875rem 0.5rem;
    }
    
    .ai-chat-faq-item i {
        font-size: 1.25rem;
    }
    
    .ai-chat-faq-item span {
        font-size: 0.8125rem;
    }
}
