.img-bg-svg {
    position: absolute;
    top:500px;
    right: 0;
//transform: translateY(-50%) rotate(180deg);
    width: 900px; /* بزرگتر از حد معمول */
    height: auto;
    filter: grayscale(100%) opacity(0.5);
    z-index: 1000;
    mix-blend-mode: multiply; /* برای افکت خاکستری بهتر */
    z-index:-1;
    opacity:0.6;
}



.img-bg-svg1 {
    position: absolute;
    top:1400px;
    left: 0;
    transform: translateY(-50%) rotate(180deg);
    width:1000px; /* بزرگتر از حد معمول */
    height: auto;
    filter: grayscale(100%) opacity(0.5);
    z-index: 1000;
    mix-blend-mode: multiply; /* برای افکت خاکستری بهتر */
    z-index:-1;
    opacity:0.3;
}



.img-bg-svg2 {
    position: absolute;
    top:2000px;
    right: 0;
//transform: translateY(-50%) rotate(180deg);
    width: 1000px; /* بزرگتر از حد معمول */
    height: auto;
    filter: grayscale(100%) opacity(0.5);
    z-index: 1000;
    mix-blend-mode: multiply; /* برای افکت خاکستری بهتر */
    z-index:-1;
    opacity:0.5;
}




.img-bg-svg4 {
    position: absolute;
    top:3800px;
    left: 0;
    transform: translateY(-50%) rotate(180deg);
    width:1200px; /* بزرگتر از حد معمول */
    height: auto;
    filter: grayscale(100%) opacity(0.5);
    z-index: 1000;
    mix-blend-mode: multiply; /* برای افکت خاکستری بهتر */
    z-index:-1;
    opacity:0.4;
}



:root {
    --primary-red: #dc3545;
    --sub-title: #868686 !important;
}
body {
    background-color: #fff;
    background-image: radial-gradient(#f3f3f3 2px, transparent 0);
    background-size: 26px 25px;
    margin: 0;
    overflow-x: hidden;
}
.red-dot {
    position: fixed;
    width: 3px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
/* بقیه استایل‌ها... */
.hero-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
}
.slider-track {
    display: flex;
    width: max-content;
    animation: pingpong-animation 35s ease-in-out infinite;
}
.slider-track img {
    width: 125px;
    height: auto;
    margin: 0 15px;
    border-radius: 15px;
    flex-shrink: 0;
}
@keyframes pingpong-animation {
    0%, 20% {
        transform: translateX(0);
    }
    50%, 80% {
        transform: translateX(-30%);
    }
    100% {
        transform: translateX(0);
    }
}
@media (max-width: 768px) {
    .slider-track img { width: 150px; margin: 0 10px; }
    @keyframes pingpong-animation {
        0%, 20% { transform: translateX(0); }
        50%, 80% { transform: translateX(-25%); }
        100% { transform: translateX(0); }
    }
}
@keyframes scroll-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.gallery-img {
    cursor: zoom-in;
    transition: transform 0.3s;
    border-radius: 10px;
}
.gallery-img:hover { transform: scale(1.05); }
.card-header {
    background:#ececec4a;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border-right:4px solid #dc3545;
}
.read-more-box {
    position: relative;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.6s ease;
}
.read-more-box.expanded { max-height: 2000px; }
.gradient-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}
.expanded .gradient-fade { display: none; }
.steps-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    gap: 0;
    max-width: 120px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.step-circle {
    width: 70px;
    height: 70px;
    border: 4px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-weight: bold;
    font-size: 20px;
    color: #666;
    transition: all 0.6s ease;
    z-index: 3;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.step-line {
    width: 4px;
    height: 80px;
    background: linear-gradient(to bottom, #ddd, #eee);
    margin: 0; /* دقیقاً وسط دایره */
    position: relative;
    z-index: 1;
    border-radius: 2px;
    transition: all 0.6s ease;
}

.step-label {
    font-size: 15px;
    text-align: center;
    margin: 8px 0;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}


.form-control{
    height:55px;
    weight:100% !important;
    border-radius:15px;

}


.active-circle {
    border-color: var(--primary-red) !important;
    color: var(--primary-red) !important;
    transform: scale(1.15) !important;
    box-shadow: 0 0 20px rgba(220,53,69,0.3) !important;
}

.active-line {
    background: linear-gradient(to bottom, var(--primary-red), #ff6b7a) !important;
    box-shadow: 0 0 10px rgba(220,53,69,0.4) !important;
}

/* آخرین آیتم خط نداشته باشد */
.step-item:last-child .step-line {
    display: none;
}

/* موبایل/تبلت مخفی */
@media (max-width: 991px) {
    .steps-wrapper {
        display: none !important;
    }
}
h1, h2 { color: #000 !important; }
h3 { color: var(--sub-title) !important; }
@media (max-width: 768px) {
    .slider-track img { width: 150px; margin: 0 10px; }
    .step-item { min-width: 120px; }
    .step-line { width: 40px; }
}
@keyframes pingpong-animation {
    0%, 10% {
        transform: translateX(0);
        transition:1000MS;
    }
    10%, 30% {
        transform: translateX(15%);
        transition:1000MS;
    }

    30%, 60% {
        transform: translateX(0);
        transition:1000MS;
    }

    60%, 90% {
        transform: translateX(15%);
        transition:1000MS;
    }

    100% {
        transform: translateX(0);
        transition:1000MS;
    }



}
@media (max-width: 768px) {
    .slider-track img { width: 150px; margin: 0 10px; }
    @keyframes pingpong-animation {
        0%, 20% { transform: translateX(0); }
        50%, 80% { transform: translateX(-25%); }
        100% { transform: translateX(0); }
    }
}


.navbar-custom {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-nav .nav-link {
    color: #000 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover::after {
    right: 0;
    left: 0;
    width: 100%;
}
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-collapse {
    padding: 1rem 0;
}
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
}


@media (max-width: 768px) {
    .slider-track img {
        width: 180px;
        margin: 0 8px;
    }

    /* گالری موبایل: ۲ ستون */
    .row > .col-md-3 {
        flex: 0 0 50%; /* ۲ ستون */
        max-width: 50%;
    }

    /* اسلایدر موبایل بهتر */
    @keyframes pingpong-animation {
        0%, 20% { transform: translateX(0); }
        50%, 80% { transform: translateX(-20%); }
        100% { transform: translateX(0); }
    }


}


@media (max-width: 991px) {
    .steps-wrapper {
        display: none !important;
    }
    steps-wrapper1{
        display: none !important;
    }
}


.cta-section {
    box-shadow: 0 25px 70px rgba(214, 6, 6, 0.12);
    position: relative;
    overflow: hidden;
    margin-bottom: 200px !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b7a);
}

.cta-image:hover img {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

@media (max-width: 991px) {
    .cta-section {
        text-align: center !important;
        margin: 30px 10px;
        padding: 30px 15px !important;
    }
    .cta-title {
        font-size: 2.2rem !important;
    }
    .cta-subtitle {
        font-size: 1.2rem !important;
    }
    .cta-image {
        width: 250px !important;
        height: 320px !important;
        margin-bottom: 25px !important;
    }
}

@media (max-width: 576px) {
    .cta-section {
        border-width: 12px !important;
        padding: 25px 15px !important;
    }
    .cta-title {
        font-size: 1.8rem !important;
    }
}

.hero-slider-container::before,
.hero-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.hero-slider-container::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.hero-slider-container::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}


footer{
    padding:25px 20px 15px 20px;
    text-align:center;
    background:#fff;
}


.floating-img {
    position: fixed !important;
    mix-blend-mode: multiply;
    filter: grayscale(100%) brightness(0.5) !important;
    z-index: 999;
    opacity: 0.8;
    animation: floatMove 20s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* سایز 1 - چسبیده به چپ بالا */
.floating-img-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 220px;
    object-fit: cover;
    animation-delay: 0s;
}

/* سایز 2 - چسبیده به راست بالا */
.floating-img-2 {
    top: 15%;
    right: 8%;
    width: 160px;
    height: 280px;
    object-fit: cover;
    animation-delay: 5s;
}

/* سایز 3 - چسبیده به چپ پایین */
.floating-img-3 {
    bottom: 20%;
    left: 3%;
    width: 100px;
    height: 180px;
    object-fit: cover;
    animation-delay: 10s;
}

/* سایز 4 - چسبیده به راست پایین */
.floating-img-4 {
    bottom: 15%;
    right: 6%;
    width: 140px;
    height: 240px;
    object-fit: cover;
    animation-delay: 15s;
}

@keyframes floatMove {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-8px) rotate(1deg); }
}

.floating-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit;
}

/* موبایل - مخفی */
@media (max-width: 768px) {
    .floating-img { display: none !important; }
}
