/* ============== GENERAL RESET & FONTS ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn-light.ttf') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============== THEME COLORS ============== */
:root {
    --primary-color: #F59E0B;
    --secondary-color: #D97706;
    --dark-bg: #0B1120;
    --light-bg: #F9FAFB;
    --neon-glow: #FFD700;
}

/* ============== BODY ============== */
body {
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
    background-color: var(--light-bg);
    color: #333;
    margin-bottom: 0 !important;
}

/* ============== PRELOADER ============== */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.particles-preloader {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(245,158,11,0.3)"/></svg>') repeat;
    animation: floatParticles 20s infinite linear;
}
@keyframes floatParticles {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.preloader-container { position: relative; z-index: 2; text-align: center; }
.loader-content { position: relative; z-index: 3; }
.logo-loader { margin-bottom: 2rem; }
.logo-circle {
    width: 120px; height: 120px;
    border: 3px solid rgba(245, 158, 11, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: spin 2s linear infinite, pulse 2s ease-in-out infinite;
    position: relative;
}
.logo-circle::before {
    content: ''; position: absolute;
    width: 100px; height: 100px;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    animation: spin 3s linear infinite reverse;
}
.logo-text {
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--neon-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8)); }
}
.loader-text { margin-bottom: 2rem; }
.loading-text { font-size: 1.2rem; color: #fff; font-weight: 600; margin-bottom: 0.5rem; display: block; }
.loading-dots { display: flex; justify-content: center; gap: 0.5rem; }
.loading-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: bounce 1.4s infinite ease-in-out;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}
.progress-loader {
    width: 200px; height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transform-origin: left;
}

/* ============== HEADER ============== */
.modern-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.9), rgba(11, 17, 32, 0.7));
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}
.modern-header.scrolled {
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.95), rgba(11, 17, 32, 0.85));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.logo-container h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, var(--neon-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
    color: #ffffff;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: ''; position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--neon-glow);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--neon-glow); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.btn-modern-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: var(--dark-bg);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}
.btn-modern-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.7);
    filter: brightness(1.2);
}
.modern-hamburger {
    display: none;
    background: none;
    border: none;
    width: 40px; height: 40px;
    cursor: pointer;
    position: relative;
    z-index: 102;
}
.modern-hamburger span {
    display: block;
    width: 30px; height: 3px;
    background: var(--neon-glow);
    margin: 6px auto;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.modern-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.modern-hamburger.active span:nth-child(2) { opacity: 0; }
.modern-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
.mobile-nav-overlay {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.95), rgba(11, 17, 32, 0.85));
    backdrop-filter: blur(15px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 6rem 2rem;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.mobile-nav-overlay.open { right: 0; }
.mobile-nav-overlay .nav-link {
    width: 100%; text-align: right;
    padding: 1.5rem; font-size: 1.6rem;
    color: #ffffff; border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}
.mobile-nav-overlay .nav-link:hover {
    background: var(--primary-color); color: #fff; transform: translateX(-10px);
}
.mobile-nav-overlay .btn-modern-nav { margin-top: 2rem; width: fit-content; align-self: flex-end; }

/* ============== HERO SECTION ============== */
.hero-bg {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 1.3;
    z-index: 0 !important;
    filter: brightness(0.5);
}
#particles-hero {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1 !important;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.4) 0%, transparent 50%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: clamp(1.5rem, 4vw, 2rem);
    max-width: 90%;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 600px;
    margin: 0 auto clamp(1.5rem, 4vw, 2rem);
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.hero-buttons .btn-hero-primary,
.hero-buttons .btn-hero-secondary {
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-buttons .btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: var(--dark-bg);
    border: none;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}
.hero-buttons .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--neon-glow);
    color: #FFD700;
    backdrop-filter: blur(8px);
}
.hero-buttons .btn-hero-primary:hover,
.hero-buttons .btn-hero-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.7);
    filter: brightness(1.3);
}
.hero-wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 4;
    animation: wave 10s ease-in-out infinite;
}
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; }
.scroll-arrow {
    width: 35px; height: 50px;
    border: 3px solid var(--neon-glow);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.scroll-arrow::before {
    content: ''; position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 5px; height: 12px;
    background: var(--neon-glow);
    border-radius: 3px;
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.6; }
}

/* ============== GENERAL TEXT GRADIENTS ============== */
.text-gradient-main {
    background: linear-gradient(to right, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.text-gradient-secondary {
    background: linear-gradient(to right, var(--primary-color), var(--neon-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.text-gradient-int {
    background: linear-gradient(to right, #F59E0B, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1em;
}
@media (min-width: 768px) {
    .text-gradient-int { font-size: 1.2em; }
}

/* ============== SERVICES ============== */
.services-section { padding: clamp(3rem, 8vw, 5rem) 0; }
.card-fancy {
    transition: transform 0.5s ease-out, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}
.card-fancy:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(4deg);
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.4);
}
.service-icon-wrapper {
    font-size: clamp(2.5rem, 5vw, 3rem);
    width: 100px; height: 100px;
    margin: 0 auto 1.8rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    transition: all 0.4s ease;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.card-fancy:hover .service-icon-wrapper {
    transform: scale(1.2) rotate(360deg);
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}
.card-fancy h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: clamp(0.8rem, 2vw, 1rem); }
.card-fancy p { font-size: clamp(0.9rem, 2vw, 1rem); color: #6b7280; }

/* ============== PORTFOLIO ============== */
.portfolio-section { padding: clamp(3rem, 8vw, 5rem) 0; }
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    perspective: 1000px;
}
.portfolio-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(245, 158, 11, 0.4); }
.portfolio-image { position: relative; overflow: hidden; }
.portfolio-card img {
    width: 100%;
    height: clamp(220px, 35vw, 280px);
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-card:hover img { transform: scale(1.2) rotate(3deg); }
.portfolio-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: rotateY(15deg);
    padding: 2rem;
    text-align: center;
}
.portfolio-card:hover .portfolio-content { opacity: 1; transform: rotateY(0deg); }
.portfolio-content h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}
.portfolio-card:hover .portfolio-content h3 { transform: translateY(0); opacity: 1; }
.portfolio-content p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}
.portfolio-card:hover .portfolio-content p { transform: translateY(0); opacity: 1; }
.btn-portfolio {
    background: #ffffff;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition-delay: 0.3s;
}
.portfolio-card:hover .btn-portfolio { transform: translateY(0); opacity: 1; }
.btn-portfolio:hover {
    background: var(--neon-glow);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* ============== ARTICLES ============== */
.articles-section { padding: clamp(3rem, 8vw, 5rem) 0; }
.article-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-out;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}
.article-item:hover { transform: translateY(-10px) rotateX(3deg); box-shadow: 0 15px 35px rgba(245, 158, 11, 0.3); }
.article-item img {
    width: 100%;
    height: clamp(150px, 25vw, 200px);
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.article-item:hover img { transform: scale(1.05); }
.article-item .content { padding: clamp(1rem, 3vw, 1.5rem); }
.btn-article {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-article:hover { transform: scale(1.08); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }

/* ============== CONTACT ============== */
.contact-section { padding: clamp(3rem, 8vw, 5rem) 0; }
.contact-info, .contact-form {
    background: #fff;
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}
.contact-info:hover, .contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.3);
}
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.5rem; }
.contact-item i { font-size: 1.8rem; color: var(--primary-color); flex-shrink: 0; }
.contact-item a, .contact-item p { color: #333; font-size: 1rem; transition: color 0.3s ease; }
.contact-item a:hover { color: var(--neon-glow); }
.social-icons { display: flex; justify-content: flex-start; gap: 0.8rem; }
.social-icon {
    width: 45px; height: 45px;
    background: #f1f5f9;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--neon-glow);
    color: #ffffff;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}
.contact-map {
    height: 200px;
    background: #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}
.form-group { position: relative; margin-bottom: 1.5rem; }
.form-control {
    width: 100%;
    padding: 1rem 1.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}
.form-control:focus {
    outline: none;
    border-color: var(--neon-glow);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}
.form-control::placeholder { color: transparent; }
.form-control:not(:placeholder-shown) + .form-label,
.form-control:focus + .form-label {
    transform: translateY(-2.5rem) scale(0.9);
    font-size: 0.9rem;
    color: var(--neon-glow);
    background: #ffffff;
    padding: 0 0.5rem;
    border-radius: 5px;
}
.form-control.textarea { border-radius: 20px; resize: vertical; min-height: 120px; }
.form-label {
    position: absolute;
    top: 1rem;
    right: 1.8rem;
    color: #9ca3af;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    transform-origin: right;
}
.btn-contact-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: var(--dark-bg);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}
.btn-contact-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.7);
    filter: brightness(1.3);
}
.btn-contact-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: 0.6s;
}
.btn-contact-submit:hover::before { left: 100%; }

/* ============== FOOTER ============== */
.footer-bg {
    position: relative;
    background: linear-gradient(135deg, #0B1120, #0c1a35);
    padding: clamp(2rem, 6vw, 3rem) 0;
    color: white;
    margin-bottom: 0 !important;
}
#particles-footer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.footer-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    z-index: 2;
}
.footer-content { position: relative; z-index: 3; text-align: center; }
.footer-links a {
    margin: 0 clamp(0.8rem, 2vw, 1rem);
    color: #cbd5e1;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-links a:hover {
    color: var(--neon-glow);
    transform: translateX(-5px);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}
.footer-copyright {
    margin-top: clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    opacity: 0.8;
}

/* ============== ARTICLES HERO & FILTERS ============== */
.articles-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.articles-hero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: 1;
}
.filters-container {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.search-wrapper { position: relative; }
.search-input {
    padding: 1rem 1.8rem 1rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.search-input:focus {
    border-color: var(--neon-glow);
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
}
.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}
.filter-btn {
    background: #f1f5f9;
    color: #6b7280;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: white;
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

/* ============== ARTICLE CARDS MODERN ============== */
.article-item-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.article-item-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(245,158,11,0.3);
}
.article-image-wrapper { position: relative; overflow: hidden; height: 220px; }
.article-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.article-item-modern:hover img { transform: scale(1.1); }
.article-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--neon-glow);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}
.article-content-modern {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}
.category-tag {
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
}
.category-tag.web { background: #fef3c7; color: #d97706; }
.category-tag.seo { background: #dbeafe; color: #2563eb; }
.category-tag.app { background: #d1fae5; color: #059669; }
.category-tag.tech { background: #fce7f3; color: #be185d; }
.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
    line-height: 1.4;
}
.article-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.btn-article-modern {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}
.btn-article-modern:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(245,158,11,0.4);
}

/* ============== PORTFOLIO MODERN ============== */
.portfolio-filters-section { padding-top: 2rem; }
.portfolio-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}
.portfolio-card-modern:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(245,158,11,0.25);
}
.portfolio-image-wrapper { position: relative; overflow: hidden; height: 240px; }
.portfolio-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.portfolio-card-modern:hover img { transform: scale(1.15); }
.portfolio-overlay-effect {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.portfolio-card-modern:hover .portfolio-overlay-effect { opacity: 1; }
.portfolio-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: linear-gradient(135deg, var(--neon-glow), #ffffff);
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    z-index: 2;
}
.portfolio-content-modern {
    padding: 1.8rem;
    background: white;
    position: relative;
    z-index: 1;
}
.portfolio-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #1f2937;
    background: linear-gradient(to right, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.portfolio-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.portfolio-card-modern:hover .tag {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
.btn-portfolio-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}
.btn-portfolio-modern:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(245,158,11,0.5);
    background: linear-gradient(135deg, var(--neon-glow), var(--primary-color));
}

/* ============== ABOUT STORY, VALUES, STATS, TEAM, TIMELINE ============== */
.story-image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.story-image-wrapper img { transition: transform 0.8s ease; }
.story-image-wrapper:hover img { transform: scale(1.08); }
.story-badge {
    position: absolute;
    top: 1.5rem; left: 1.5rem;
    background: linear-gradient(135deg, var(--neon-glow), #ffffff);
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
    z-index: 2;
}
.typing-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--neon-glow);
    animation: typing 4s steps(40) infinite, blink 0.7s infinite;
}
@keyframes typing { 0% { width: 0; } 50% { width: 100%; } 100% { width: 0; } }
@keyframes blink { 0%, 100% { border-color: transparent; } 50% { border-color: var(--neon-glow); } }

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}
.value-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(245,158,11,0.2); }
.value-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }

.stat-item { padding: 1.5rem; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary-color); margin-bottom: 0.5rem; }
.stat-label { color: #6b7280; font-weight: 600; }

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
}
.team-card:hover { transform: translateY(-12px) rotateX(8deg); box-shadow: 0 25px 50px rgba(245,158,11,0.25); }
.team-image-wrapper { position: relative; overflow: hidden; height: 280px; }
.team-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.team-card:hover img { transform: scale(1.15); }
.team-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-info { padding: 1.5rem; text-align: center; }
.team-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.role { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.social-links a { color: #9ca3af; font-size: 1.1rem; margin: 0 0.5rem; transition: all 0.3s ease; }
.social-links a:hover { color: var(--neon-glow); transform: translateY(-3px); }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--neon-glow));
    transform: translateX(-50%);
}
.timeline-item { position: relative; margin: 3rem 0; }
.timeline-dot {
    position: absolute;
    top: 0; left: 50%;
    width: 18px; height: 18px;
    background: var(--neon-glow);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255,215,0,0.6);
    z-index: 1;
}
.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; text-align: left; }
.timeline-item:nth-child(even) .timeline-content { margin-right: auto; text-align: right; }
.timeline-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; }
.timeline-content p { color: #6b7280; font-size: 0.95rem; }

/* ============== ARTICLE DETAIL ============== */
.article-content-modern {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.article-meta { font-size: 0.9rem; color: #6b7280; }
.category-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-glow));
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}
.article-title {
    background: linear-gradient(to right, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}
.article-featured-image {
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 20px;
}
.article-featured-image img { transition: transform 0.8s ease; }
.article-content-modern:hover .article-featured-image img { transform: scale(1.05); }
.article-body h2 {
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}
.article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60px; height: 4px;
    background: var(--neon-glow);
    border-radius: 2px;
}
.blockquote-modern {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(251,191,36,0.08));
    border-right: 5px solid var(--neon-glow);
    font-family: 'Vazirmatn', sans-serif;
}
.list-styled {
    padding-right: 1.5rem;
    margin: 1.5rem 0;
}
.list-styled li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-right: 1.8rem;
    line-height: 1.7;
}
.list-styled li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.code-block {
    background: #1a1a1a;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 16px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.code-block pre { margin: 0; }
.article-tags .tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}
.article-tags .tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
.article-sidebar .sidebar-card { background: white; border-radius: 20px; }
.related-article {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 12px;
}
.related-article:hover { background: #f8f9fa; transform: translateX(-5px); }
.related-img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.related-article h4 { line-height: 1.4; margin: 0; }

/* ============== PROJECT DETAIL – LUXURY ============== */
.project-hero-minimal { min-height: 80vh; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.project-badge {
    display: inline-block;
    background: var(--neon-glow);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1px;
}
.project-mockup img {
    border: 12px solid white;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    transition: all 0.8s ease;
}
.project-mockup:hover img { transform: translateY(-12px); box-shadow: 0 40px 100px rgba(245,158,11,0.25); }
.btn-luxury, .btn-luxury-lg {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}
.btn-luxury:hover, .btn-luxury-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
}
.btn-luxury-outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
}
.btn-luxury-outline:hover { background: #1a1a1a; color: white; }
.stat-luxury { padding: 1.5rem; }
.stat-number-luxury { font-size: 3rem; font-weight: 800; color: #1a1a1a; margin-bottom: 0.5rem; }
.stat-label-luxury { color: #6b7280; font-weight: 600; letter-spacing: 1px; }
.project-swiper-luxury .swiper-slide {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.project-swiper-luxury .swiper-slide img { transition: transform 0.7s ease; }
.project-swiper-luxury .swiper-slide:hover img { transform: scale(1.06); }
.swiper-pagination-luxury .swiper-pagination-bullet { background: #dee2e6; opacity: 1; }
.swiper-pagination-luxury .swiper-pagination-bullet-active { background: #1a1a1a; }
.tech-card-luxury {
    background: #f8f9fa;
    color: #1a1a1a;
    text-align: center;
    padding: 1rem;
    border-radius: 18px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
}
.tech-card-luxury:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-6px);
    border-color: #1a1a1a;
}
.section-title-luxury {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}
.section-title-luxury::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--neon-glow);
    border-radius: 2px;
}
.project-cta { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.btn-luxury-lg { padding: 1.1rem 3rem; font-size: 1.1rem; }

/* ============== CONTACT MINIMAL ============== */
.contact-hero-minimal {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdfcfb 0%, #f8f9fa 100%);
}
.contact-hero-minimal .display-2 { font-weight: 800; line-height: 1.2; }
.contact-form-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    transition: all 0.5s ease;
}
.contact-form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}
.form-input-minimal {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}
.form-input-minimal:focus {
    outline: none;
    border-color: var(--neon-glow);
    box-shadow: 0 0 0 4px rgba(255,215,0,0.12);
}
.btn-minimal {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    margin-top: 0.5rem;
}
.btn-minimal:hover {
    background: var(--neon-glow);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,215,0,0.3);
}
.contact-info-item i { transition: transform 0.4s ease; }
.contact-info-item:hover i { transform: scale(1.2); }
.contact-info-item p { font-weight: 500; color: #4b5563; }

/* ============== RESPONSIVE ============== */
@media (max-width: 991px) {
    .modern-hamburger { display: block !important; position: fixed; right: 1.5rem; top: 1rem; z-index: 102; }
    .main-nav, .btn-modern-nav { display: none !important; }
}
@media (max-width: 768px) {
    .hero-title { font-size: clamp(1.8rem, 4vw, 2.5rem); }
    .hero-description { font-size: clamp(0.9rem, 2vw, 1.2rem); }
    .hero-buttons .btn-hero-primary, .hero-buttons .btn-hero-secondary {
        padding: clamp(0.5rem, 2vw, 0.6rem) clamp(1rem, 3vw, 1.5rem);
        font-size: clamp(0.8rem, 1.8vw, 1rem);
    }
    .card-fancy, .portfolio-card, .article-item {
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }
    .portfolio-card img { height: clamp(180px, 30vw, 220px); }
    .article-item img { height: clamp(120px, 20vw, 150px); }
    .service-icon-wrapper { font-size: clamp(2rem, 4vw, 2.5rem); width: 80px; height: 80px; }
}
@media (max-width: 768px) {
    .contact-hero-minimal { min-height: 60vh; }
    .contact-form-card { padding: 2rem; }
}
