/* =====================================
   Reset & Base Styles
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #e0e7ff 100%);
    min-height: 100vh;
    direction: rtl;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =====================================
   Background Decorative Elements
   ===================================== */
.bg-decorative {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-circle-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 288px;
    height: 288px;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    filter: blur(80px);
}

.bg-circle-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 384px;
    height: 384px;
    background: rgba(167, 139, 250, 0.2);
    border-radius: 50%;
    filter: blur(80px);
}

/* =====================================
   Container
   ===================================== */
.container {
    max-width: 448px;
    margin: 0 auto;
    padding: 0 16px;
}

/* =====================================
   Header Section
   ===================================== */
.header {
    position: relative;
    background: linear-gradient(to left, #2563eb, #1d4ed8, #4338ca);
    color: white;
    padding: 32px 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 448px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.header-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

    .header-icon > div {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

.icon-wrench {
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    line-height: 1.5;
}

.header-subtitle {
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 400;
}

.header-divider {
    margin: 16px auto 0;
    height: 4px;
    width: 80px;
    background: linear-gradient(to left, transparent, white, transparent);
    border-radius: 9999px;
}

/* =====================================
   Section Headers
   ===================================== */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

    .section-header h2 {
        color: #1f2937;
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.5;
    }

.section-subtitle {
    font-size: 14px;
    color: #4b5563;
    font-weight: 400;
}

/* =====================================
   Contact Section
   ===================================== */
.text-danger {
    color: #e53935; /* قرمز حرفه‌ای */
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-section {
    padding: 32px 16px;
    position: relative;
    z-index: 10;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    cursor: pointer;
}

    .contact-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        transform: translateY(-2px);
    }

.contact-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-card-bg {
    opacity: 1;
}

.contact-card-green {
    border: 1px solid #d1fae5;
}

    .contact-card-green:hover {
        border-color: #6ee7b7;
    }

    .contact-card-green .contact-card-bg {
        background: linear-gradient(to left, rgba(52, 211, 153, 0.1), rgba(16, 185, 129, 0.1));
    }

.contact-card-blue {
    border: 1px solid #dbeafe;
}

    .contact-card-blue:hover {
        border-color: #93c5fd;
    }

    .contact-card-blue .contact-card-bg {
        background: linear-gradient(to left, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    }

.contact-card-purple {
    border: 1px solid #e9d5ff;
}

    .contact-card-purple:hover {
        border-color: #c084fc;
    }

    .contact-card-purple .contact-card-bg {
        background: linear-gradient(to left, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    }

.contact-card-orange {
    border: 1px solid #fed7aa;
}

    .contact-card-orange:hover {
        border-color: #fdba74;
    }

    .contact-card-orange .contact-card-bg {
        background: linear-gradient(to left, rgba(249, 115, 22, 0.1), rgba(245, 158, 11, 0.1));
    }

.contact-icon {
    position: relative;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(6deg);
}

.contact-icon svg {
    color: white;
    display: block;
}

.contact-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.contact-icon-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.contact-icon-orange {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.contact-info {
    flex: 1;
    position: relative;
}

.contact-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 400;
}

.contact-value {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* =====================================
   Services Section
   ===================================== */
.services-section {
    padding: 32px 16px;
    position: relative;
    z-index: 10;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    .service-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-color: #d1d5db;
        transform: translateY(-2px);
    }

.service-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.service-card:hover .service-gradient {
    opacity: 0.05;
}

.service-gradient-blue {
    background: linear-gradient(to left, #3b82f6, #06b6d4);
}

.service-gradient-purple {
    background: linear-gradient(to left, #a855f7, #ec4899);
}

.service-gradient-orange {
    background: linear-gradient(to left, #f97316, #ef4444);
}

.service-gradient-green {
    background: linear-gradient(to left, #10b981, #059669);
}

.service-card > div:nth-child(2) {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-icon {
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

    .service-icon h3 {
        color: #ffff;
    }

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(6deg);
}

.service-icon svg {
    color: white;
    display: block;
}

.service-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.service-icon-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.service-icon-orange {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.service-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-content {
    flex: 1;
    margin-top: 23px;
    margin-right: 16px;
    margin-left: 16px;
}

    .service-content h3 {
        color: #1f2937;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        line-height: 1.5;
    }

.service-card:hover .service-content h3 {
    color: #111827;
}

.service-content p {
    font-size: 14px;
    color: #4b5563;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    line-height: 1.6;
}

.service-card:hover .service-content p {
    color: #374151;
}

.service-corner {
    position: absolute;
    top: -32px;
    right: -32px;
    width: 96px;
    height: 96px;
    opacity: 0.1;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.service-card:hover .service-corner {
    transform: scale(1.5);
}

.service-corner-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.service-corner-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.service-corner-orange {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.service-corner-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* =====================================
   Why Choose Us Section
   ===================================== */
.why-section {
    padding: 32px 16px;
    position: relative;
    z-index: 10;
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    .why-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        transform: translateY(-2px);
    }

.why-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover .why-card-bg {
    opacity: 0.5;
}

.why-card-green {
    border: 1px solid #d1fae5;
}

    .why-card-green:hover {
        border-color: #6ee7b7;
    }

    .why-card-green .why-card-bg {
        background: linear-gradient(to left, #d1fae5, #a7f3d0);
    }

.why-card-blue {
    border: 1px solid #dbeafe;
}

    .why-card-blue:hover {
        border-color: #93c5fd;
    }

    .why-card-blue .why-card-bg {
        background: linear-gradient(to left, #dbeafe, #bae6fd);
    }

.why-card-purple {
    border: 1px solid #e9d5ff;
}

    .why-card-purple:hover {
        border-color: #c084fc;
    }

    .why-card-purple .why-card-bg {
        background: linear-gradient(to left, #e9d5ff, #f0abfc);
    }

.why-card > div:nth-child(2) {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-icon {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 4px;
    flex-shrink: 0;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-icon svg {
    color: white;
    display: block;
}

.why-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.why-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.why-icon-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.why-icon h3 {
    color: #fff;
}

.why-content {
    flex: 1;
    margin-top: 23px;
    margin-right: 16px;
    margin-left: 16px;
}

    .why-content h3 {
        color: #1f2937;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 4px;
        line-height: 1.5;
    }

    .why-content p {
        font-size: 14px;
        color: #4b5563;
        font-weight: 400;
        line-height: 1.6;
    }

/* =====================================
   Social Media Section
   ===================================== */
.social-section {
    padding: 32px 16px;
    position: relative;
    z-index: 10;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    overflow: hidden;
    min-height: 140px;
}

    .social-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        transform: scale(1.05);
    }

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover .social-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.social-instagram {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
}

.social-telegram {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
}

.social-whatsapp {
    background: linear-gradient(135deg, #4ade80 0%, #10b981 50%, #059669 100%);
}

.social-facebook {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #4338ca 100%);
}

.social-icon-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px;
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover .social-icon-wrapper {
    transform: scale(1.1);
}

.social-icon-wrapper svg {
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.social-card > span {
    position: relative;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* =====================================
   Quick Contact Button
   ===================================== */
.quick-contact-btn {
    position: relative;
    display: block;
    background: linear-gradient(to left, #10b981, #059669, #10b981);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: hidden;
}

    .quick-contact-btn:hover {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        transform: scale(1.05);
    }

.quick-contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-btn:hover .quick-contact-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.quick-contact-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quick-contact-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-btn:hover .quick-contact-icon {
    transform: scale(1.1);
}

.quick-contact-icon svg {
    color: white;
    display: block;
}

.quick-contact-content > span {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* =====================================
   Footer Section
   ===================================== */
.footer {
    position: relative;
    background: linear-gradient(to left, #111827, #1e293b, #111827);
    color: white;
    padding: 32px 16px;
    margin-top: 48px;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 448px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

    .footer-icon svg {
        color: #60a5fa;
    }

.footer-text {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-subtext {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}

.footer-divider {
    margin: 16px auto 0;
    height: 2px;
    width: 64px;
    background: linear-gradient(to left, transparent, #60a5fa, transparent);
    border-radius: 9999px;
}

/* =====================================
   Responsive Design
   ===================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 24px 12px;
    }

        .header h1 {
            font-size: 24px;
        }

    .header-subtitle {
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-icon {
        padding: 12px;
    }

        .contact-icon svg {
            width: 24px;
            height: 24px;
        }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        padding: 14px;
    }

        .service-icon svg {
            width: 28px;
            height: 28px;
        }

      

    .service-content h3 {
        font-size: 16px;
    }

    .service-content p {
        font-size: 13px;
    }

    .why-card {
        padding: 16px;
    }

    .why-content {
        margin-top: 10px;
    }

        .why-content h3 {
            font-size: 16px;
        }

        .why-content p {
            font-size: 13px;
        }

    .social-card {
        padding: 20px;
        min-height: 130px;
    }

    .social-icon-wrapper {
        padding: 10px;
    }

        .social-icon-wrapper svg {
            width: 36px;
            height: 36px;
        }

    .social-card > span {
        font-size: 14px;
    }

    .quick-contact-btn {
        padding: 16px;
    }

    .quick-contact-content > span {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .social-grid {
        gap: 12px;
    }

    .social-card {
        padding: 16px;
        min-height: 120px;
    }

    .social-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .social-card > span {
        font-size: 13px;
    }
}

/* =====================================
   Animation Classes
   ===================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* =====================================
   Utility Classes
   ===================================== */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



/* اضافه کردن لوگو به پس‌زمینه کل بدنه سایت */
body {
    position: relative;
    background-image: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(224, 231, 255, 0.9) 100%), url(/images/IMG_0653.jpeg);
    background-attachment: fixed;
    background-position: center center;
    background-size: 223%;
    background-attachment: fixed;
    z-index: 0;
}

    /* لایه پس‌زمینه که blur می‌شود */
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/logo.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 50%; /* اندازه لوگو */
        filter: blur(12px); /* مقدار blur که اینجا جادو می‌کنه */
        opacity: 0.25; /* محو بودن برای زیبایی */
        z-index: -2; /* پشت همه چیز قرار می‌گیرد */
    }

/* برای اینکه بک‌گراند gradient فعلیت هنوز دیده بشه */
/*body {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #e0e7ff 100%);
    z-index: 0;
}*/


/* بهبود خوانایی کارت‌ها روی پس‌زمینه جدید */
.contact-card, .service-card, .why-card, .social-card {
    background: rgba(255, 255, 255, 0.85) !important; /* کمی شفاف‌تر برای دیدن پس‌زمینه */
    backdrop-filter: blur(12px) !important; /* افکت شیشه‌ای (Glassmorphism) */
    -webkit-backdrop-filter: blur(12px) !important;
}

/* المان‌های تزئینی قبلی رو کمی کمرنگ می‌کنیم که با لوگو تداخل نداشته باشن */
.bg-circle-1, .bg-circle-2 {
    opacity: 0.1;
}