* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #f0f4fd;
    color: #1a1a2e;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 50px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes neonRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card,
.portfolio-item,
.stat-item {
    animation: fadeUp 0.6s ease forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-radius: 80px;
    padding: 8px 28px;
    box-shadow: 0 8px 40px rgba(79, 172, 254, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1000;
    transition: all 0.4s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 100%;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1a1a2e 30%, #4facfe 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    position: relative;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 4px;
    opacity: 0.3;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav ul li a {
    display: inline-block;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 0.92rem;
    color: #2a2a4a;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 60%;
}

.nav ul li a:hover {
    color: #1a1a2e;
    background: rgba(79, 172, 254, 0.06);
}

.nav ul li a.active {
    color: #4facfe;
    font-weight: 700;
}

.nav ul li .admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(79, 172, 254, 0.15);
    padding: 6px 16px 6px 18px;
    border-radius: 40px;
    font-weight: 600;
    color: #1a1a2e;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(79, 172, 254, 0.04);
}

.nav ul li .admin-link i {
    font-size: 0.85rem;
    color: #4facfe;
}

.nav ul li .admin-link:hover {
    background: #ffffff;
    box-shadow: 0 0 24px rgba(79, 172, 254, 0.15);
    border-color: rgba(79, 172, 254, 0.3);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #1a1a2e;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.btn-circle-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #1a1a2e;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 24px rgba(79, 172, 254, 0.10);
    position: relative;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-circle-neon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #4facfe, #00f2fe, #4facfe);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
    animation: neonRotate 3s linear infinite;
}

.btn-circle-neon:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 0 32px rgba(79, 172, 254, 0.35);
    background: #ffffff;
}

.btn-circle-neon:hover::before {
    opacity: 1;
}

.btn-circle-neon:active {
    transform: translateY(0px) scale(0.94);
}

.btn-circle-neon-sm { width: 42px; height: 42px; font-size: 0.95rem; }
.btn-circle-neon-lg { width: 72px; height: 72px; font-size: 1.6rem; }
.btn-circle-neon-xl { width: 88px; height: 88px; font-size: 2rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    border-radius: 60px;
    border: none;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    background: #ffffff;
    color: #1a1a2e;
    box-shadow: 0 6px 24px rgba(79, 172, 254, 0.08);
}

.btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 60px;
    padding: 2px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.4s ease;
}

.btn:hover::before { opacity: 1; }
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.30);
}

.btn-primary:hover {
    box-shadow: 0 0 44px rgba(79, 172, 254, 0.40);
    transform: translateY(-3px) scale(1.01);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(79, 172, 254, 0.15);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.12);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1,
.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #1a1a2e 40%, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header h1 span,
.section-header h2 span {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: #6a6a8a;
    font-size: 0.95rem;
}

.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 20% 50%, rgba(79, 172, 254, 0.04) 0%, transparent 70%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 242, 254, 0.03) 0%, transparent 60%),
                #f0f4fd;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content { text-align: center; }
.hero-content .hero-logo { margin-bottom: 20px; }
.hero-content .hero-logo img {
    max-width: 100%;
    height: auto;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-content .hero-logo img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 40px rgba(79, 172, 254, 0.08));
}

.hero-content p {
    font-size: 1.12rem;
    color: #4a4a6a;
    max-width: 520px;
    margin: 16px auto 32px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    top: 20%;
    right: 10%;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
    bottom: 20%;
    left: 10%;
}

.services,
.services-page {
    padding: 80px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(79, 172, 254, 0.04);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s ease;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(79, 172, 254, 0.06);
}

.service-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    font-size: 1.6rem;
    color: #4facfe;
    margin-bottom: 16px;
    box-shadow: 0 6px 24px rgba(79, 172, 254, 0.10);
    transition: all 0.4s ease;
    border: 1px solid rgba(79, 172, 254, 0.06);
}

.service-card:hover i {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 0 32px rgba(79, 172, 254, 0.20);
    color: #00f2fe;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.service-card p {
    color: #6a6a8a;
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-card ul {
    text-align: right;
    margin: 16px 0;
    padding: 0;
}

.service-card ul li {
    color: #4a4a6a;
    font-size: 0.92rem;
    padding: 4px 0;
}

.service-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4facfe;
    margin: 16px 0;
    padding: 8px 16px;
    background: rgba(79, 172, 254, 0.06);
    border-radius: 12px;
    display: inline-block;
}

.service-card .btn { margin-top: 8px; }

.services-page .service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.services-page .service-card i {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.portfolio,
.portfolio-page {
    padding: 80px 0;
    background: #f5f8ff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.portfolio-item {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(79, 172, 254, 0.04);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(79, 172, 254, 0.06);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item .info {
    padding: 20px 24px 24px;
}

.portfolio-item .info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.portfolio-item .info p {
    color: #6a6a8a;
    font-size: 0.9rem;
}

.portfolio-item .btn-circle-neon {
    margin-top: 12px;
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 10px 28px;
    border-radius: 40px;
    border: 1px solid rgba(79, 172, 254, 0.1);
    background: #ffffff;
    color: #2a2a4a;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
    border-color: rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.20);
}

.about-page {
    padding: 140px 0 80px;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.about-text p {
    color: #4a4a6a;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0 12px;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    padding: 6px 0;
    color: #4a4a6a;
    font-size: 1rem;
}

.about-text ul li strong { color: #1a1a2e; }

.germany-goal {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.04), rgba(0, 242, 254, 0.04));
    border-radius: 20px;
    padding: 24px 28px;
    margin-top: 24px;
    border: 1px solid rgba(79, 172, 254, 0.06);
}

.germany-goal i {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 8px;
}

.germany-goal h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.germany-goal p {
    margin: 0;
    font-size: 0.98rem;
}

.germany-goal strong { color: #1a1a2e; }

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 32px;
    filter: drop-shadow(0 20px 60px rgba(79, 172, 254, 0.06));
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.04);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 24px;
    background: #f5f8ff;
    border: 1px solid rgba(79, 172, 254, 0.04);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.04);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: #6a6a8a;
    font-size: 1rem;
    margin-top: 4px;
}

.contact,
.contact-page {
    padding: 140px 0 80px;
    background: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form .form-group label {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 22px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #f5f8ff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    color: #1a1a2e;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(79, 172, 254, 0.2);
    box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.04);
    background: #ffffff;
}

.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }

.contact-info {
    padding: 32px 36px;
    background: #f5f8ff;
    border-radius: 32px;
    border: 1px solid rgba(79, 172, 254, 0.04);
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: #2a2a4a;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-info p:last-of-type { border-bottom: none; }

.contact-info p i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #4facfe;
    font-size: 0.95rem;
    box-shadow: 0 2px 12px rgba(79, 172, 254, 0.06);
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a2e;
    font-size: 1.1rem;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(79, 172, 254, 0.04);
    border: 1px solid rgba(79, 172, 254, 0.04);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.04);
    color: #4facfe;
    box-shadow: 0 0 28px rgba(79, 172, 254, 0.15);
    border-color: rgba(79, 172, 254, 0.1);
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(79, 172, 254, 0.04);
    border-radius: 16px;
    margin-top: 16px;
}

.contact-note i {
    font-size: 1.4rem;
    color: #4facfe;
}

.contact-note p {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 0.95rem;
    color: #4a4a6a;
}

.footer {
    padding: 32px 0;
    text-align: center;
    background: #f5f8ff;
    border-top: 1px solid rgba(79, 172, 254, 0.04);
    color: #6a6a8a;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons { justify-content: center; }
    .about-text { text-align: center; }
    .about-text ul li { text-align: center; }
    .germany-goal { text-align: center; }
    .contact-form .btn {
        align-self: center;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        top: 12px;
        width: calc(100% - 24px);
        border-radius: 40px;
        padding: 6px 18px;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        right: 12px;
        left: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 28px;
        padding: 16px 12px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.5);
        gap: 4px;
    }

    .nav ul.open { display: flex; }
    .nav ul li a {
        padding: 10px 16px;
        width: 100%;
        text-align: center;
    }
    .nav ul li .admin-link {
        justify-content: center;
        width: 100%;
    }
    .hamburger { display: flex; }

    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }
    .hero-content h1 { font-size: 2.4rem; }
    .section-header h1,
    .section-header h2 { font-size: 1.9rem; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-info { padding: 24px 20px; }
    .about-page { padding: 110px 0 60px; }
    .contact-page { padding: 110px 0 60px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .filter-buttons { gap: 8px; }
    .filter-btn { padding: 8px 18px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.9rem; }
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .btn-circle-neon { width: 48px; height: 48px; font-size: 1rem; }
    .stats { grid-template-columns: 1fr; }
}

/* ===== نمونه‌کارها با SVG ===== */
.portfolio-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f4fd;
    border-radius: 28px 28px 0 0;
}

.portfolio-preview svg {
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-item:hover .portfolio-preview svg {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.portfolio-item {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(79, 172, 254, 0.04);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(79, 172, 254, 0.06);
}

.portfolio-item .info {
    padding: 20px 24px 24px;
}

.portfolio-item .info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.portfolio-item .info p {
    color: #6a6a8a;
    font-size: 0.9rem;
}

.portfolio-item .btn-circle-neon {
    margin-top: 12px;
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: #f0f4fd;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-ring {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #4facfe;
    animation: spin 0.8s linear infinite;
    margin: 0 4px;
}

.loader-ring:nth-child(2) {
    border-top-color: #00f2fe;
    animation-delay: 0.2s;
}

.loader-ring:nth-child(3) {
    border-top-color: #6c5ce7;
    animation-delay: 0.4s;
}

.loader p {
    margin-top: 16px;
    font-size: 1.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== دکمه بازگشت به بالا ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.4);
}

/* ===== انیمیشن ورود صفحه ===== */
.page-enter {
    animation: fadeInPage 0.6s ease forwards;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   نظرات مشتریان - استایل میلیون دلاری (یکپارچه)
   ============================================================ */

.testimonials-minimal {
    padding: 60px 0;
    background: #f5f8ff;
}

.testimonials-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.testimonial-card-minimal {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(79, 172, 254, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial-card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.04), transparent);
    border-radius: 0 0 0 60px;
    transition: all 0.5s ease;
}

.testimonial-card-minimal:hover::before {
    width: 120px;
    height: 120px;
}

.testimonial-card-minimal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.04);
}

.testimonial-card-minimal .text {
    font-size: 0.92rem;
    color: #2a2a4a;
    line-height: 1.8;
    margin-bottom: 12px;
    font-style: italic;
    padding-right: 16px;
    border-right: 3px solid transparent;
    transition: all 0.3s ease;
}

.testimonial-card-minimal:hover .text {
    border-right-color: rgba(79, 172, 254, 0.2);
}

.testimonial-card-minimal .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-card-minimal .author .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.06), rgba(0, 242, 254, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #4facfe;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card-minimal .author .avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #4facfe, #00f2fe, #4facfe);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
    animation: neonRotate 3s linear infinite;
}

.testimonial-card-minimal:hover .author .avatar::after {
    opacity: 1;
}

.testimonial-card-minimal .author .info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.testimonial-card-minimal .author .info span {
    font-size: 0.72rem;
    color: #6a6a8a;
}

.testimonial-card-minimal .rating {
    font-size: 0.8rem;
    color: #fdcb6e;
    letter-spacing: 2px;
    margin-top: 6px;
}

.testimonial-card-minimal .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    color: #00b894;
    background: rgba(52, 211, 153, 0.06);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(52, 211, 153, 0.08);
    margin-top: 6px;
}

.testimonial-card-minimal .verified-badge i {
    font-size: 0.5rem;
}

/* ===== فرم ثبت نظر مینیمال ===== */
.testimonial-form-minimal {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.04);
}

.testimonial-form-minimal .form-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    text-align: center;
}

.testimonial-form-minimal-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-form-minimal-inner .form-row-minimal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.testimonial-form-minimal-inner input,
.testimonial-form-minimal-inner textarea,
.testimonial-form-minimal-inner select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #f5f8ff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    outline: none;
    color: #1a1a2e;
}

.testimonial-form-minimal-inner input:focus,
.testimonial-form-minimal-inner textarea:focus,
.testimonial-form-minimal-inner select:focus {
    border-color: rgba(79, 172, 254, 0.15);
    background: #ffffff;
}

.testimonial-form-minimal-inner textarea {
    resize: vertical;
    min-height: 60px;
}

.testimonial-form-minimal-inner select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%234a4a6a' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 32px;
    cursor: pointer;
}

.testimonial-form-minimal-inner .btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 12px;
}

.testimonial-message-minimal {
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    display: none;
    font-size: 0.85rem;
}

.testimonial-message-minimal.success {
    display: block;
    background: rgba(52, 211, 153, 0.06);
    color: #00b894;
}

.testimonial-message-minimal.error {
    display: block;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
}

/* ============================================================
   آمار بازدید - مینیمال
   ============================================================ */

.stats-minimal {
    padding: 40px 0;
    background: #ffffff;
}

.stats-grid-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item-minimal {
    text-align: center;
    padding: 14px 10px;
    background: #f5f8ff;
    border-radius: 14px;
    border: 1px solid rgba(79, 172, 254, 0.02);
}

.stat-item-minimal .stat-number-minimal {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-item-minimal .stat-label-minimal {
    font-size: 0.7rem;
    color: #6a6a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   ریسپانسیو
   ============================================================ */
@media (max-width: 768px) {
    .testimonials-grid-minimal {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-card-minimal {
        padding: 16px 18px;
    }

    .testimonial-card-minimal .text {
        font-size: 0.85rem;
        padding-right: 12px;
    }

    .testimonial-card-minimal .author .avatar {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .testimonial-card-minimal .author .info h4 {
        font-size: 0.82rem;
    }

    .testimonial-form-minimal {
        padding: 18px 16px;
    }

    .testimonial-form-minimal-inner .form-row-minimal {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stats-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }

    .stat-item-minimal .stat-number-minimal {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card-minimal {
        padding: 14px 14px;
    }

    .testimonial-card-minimal .text {
        font-size: 0.8rem;
        padding-right: 8px;
    }

    .testimonial-card-minimal .author .avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .stats-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-item-minimal {
        padding: 10px 8px;
    }

    .stat-item-minimal .stat-number-minimal {
        font-size: 1.2rem;
    }
}