body {
    background-color: #060911;
    color: #f1f5f9;
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
}

html, body {
    background-color: #060911;
    color: #f1f5f9;
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}



/* ServerCheck Style Ambient Grid */
.bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(30, 41, 59, 0.25) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 41, 59, 0.25) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glass-card {
    background: rgba(13, 19, 34, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 10px 40px -10px rgba(6, 182, 212, 0.15);
}

.neon-border-cyan {
    box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.35);
}

.text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Placeholder Image Frame Styling */
.sample-img-box {
    background: repeating-linear-gradient(
        -45deg,
        rgba(15, 23, 42, 0.9),
        rgba(15, 23, 42, 0.9) 12px,
        rgba(30, 41, 59, 0.45) 12px,
        rgba(30, 41, 59, 0.45) 24px
    );
    border: 1.5px dashed rgba(56, 189, 248, 0.35);
    position: relative;
    overflow: hidden;
}

/* Scroll Reveal Animations (لود و ظاهر شدن بر اساس اسکرول) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2-Row Horizontal Scroll Container (اسکرول افقی ۲ سطری برای گالری و مشتریان) */
.horizontal-scroll-2rows {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #1e293b #060911;
    padding-bottom: 12px;
}

.horizontal-scroll-1row {
    display: grid;
    grid-template-rows: repeat(1, minmax(0, 1fr));
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 12px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #060911;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}