/* ============================================
   PREASTIC.IR - CLEAN THEME
   ============================================ */

:root {
    --primary: #0056D6;
    --primary-dark: #003d9e;
    --primary-light: #e8f0fe;
    --dark: #1E2329;
    --gray-700: #6B7280;
    --gray-300: #A1A7B3;
    --gray-100: #f5f7fa;
    --white: #ffffff;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 48px rgba(0, 86, 214, 0.10);
    --shadow-lg: 0 24px 64px rgba(0, 86, 214, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #f5f7fa;
    color: #1E2329;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #0056D6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: #0056D6;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0, 86, 214, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-primary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 16px 48px rgba(0, 86, 214, 0.35);
        background: #003d9e;
    }

.btn-outline-secondary {
    background: transparent;
    color: #1E2329;
    border: 2px solid #A1A7B3;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-outline-secondary:hover {
        border-color: #0056D6;
        color: #0056D6;
        transform: translateY(-2px);
    }

/* ============================================
   CARDS
   ============================================ */
.card-premium {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

    .card-premium:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
        border-color: #0056D6;
    }

.bg-card {
    background: #ffffff;
}

.bg-section-alt {
    background: #f8fafc;
}

/* ============================================
   BADGES
   ============================================ */
.bg-primary-subtle {
    background: #e8f0fe !important;
    color: #0056D6 !important;
}

/* ============================================
   SECTION TAGS
   ============================================ */
.tag {
    display: inline-block;
    background: #e8f0fe;
    color: #0056D6;
    padding: 4px 18px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
    position: relative;
}

    .hero-banner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to top, #f8fafc, transparent);
        z-index: 2;
        pointer-events: none;
    }
/* ============================================
   HOVER LIFT
   ============================================ */
.hover-lift {
    transition: all 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md) !important;
    }

/* ============================================
   FADE UP ANIMATION
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

    .navbar .nav-link {
        font-weight: 500;
        color: #6B7280;
        transition: 0.3s;
    }

        .navbar .nav-link:hover {
            color: #0056D6;
        }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero-banner {
        min-height: 450px !important;
        padding: 60px 0 !important;
    }

        .hero-banner h1.display-2 {
            font-size: 2.2rem !important;
        }

        .hero-banner .fs-4 {
            font-size: 1.1rem !important;
        }

        .hero-banner .btn-lg {
            padding: 10px 24px !important;
            font-size: 0.9rem !important;
        }
}
/* ============================================
   CLICKABLE SERVICE CARDS
   ============================================ */

.hover-lift {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 86, 214, 0.12) !important;
    }

    .hover-lift .text-primary {
        transition: all 0.3s ease;
    }

    .hover-lift:hover .text-primary {
        color: #003d9e !important;
        transform: translateX(-4px);
    }

/* ============================================
   DETAILED SERVICE SECTIONS
   ============================================ */

#service-rapid,
#service-reverse,
#service-industrial {
    scroll-margin-top: 80px;
}

.service-detail-icon {
    font-size: 24px;
    color: #0056D6;
}