﻿/* جلوگیری از بیرون زدن المان از صفحه در حالت موبایل */

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

img, iframe, video {
    max-width: 100%;
    height: auto;
}

.container, .row, section, article {
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}
/*-------------------------------------*/
body {
    font-family: Vazirmatn, sans-serif;
    background: #c8f0df;
    margin: 0;
    padding: 0;
    background: url('/Images/BiConsulting/BI_web1.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.9;
}

.container {
    max-width: 960px;
    margin: auto;
    padding: 40px 20px;
}

.secondContainer {
    background: rgba(209, 235, 237, .8);
    max-width: 960px;
    margin-top: 3rem;
    padding: 40px 20px;
    border: ridge;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.thirdContainer {
    background: rgba(209, 235, 237, .8);
    max-width: 960px;
    /*margin: auto;*/
    margin-top: 3rem;
    padding: 40px 20px;
    border: ridge;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(74, 93, 102,0.1);
}

.hero {
    background: linear-gradient(to left, #dae0e3, #68767d, #46ade6);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 10rem;
    border: ridge;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fade-in {
    animation: fadeIn 1.5s ease-in;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary {
    background-color: #ff9800;
    color: white;
}

.btn-secondary {
    background-color: #2196f3;
    color: white;
}

form input, form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

form button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
}

ol.persian {
    counter-reset: item;
    direction: rtl;
    list-style: none;
    padding-right: 1.5em;
}

    ol.persian li {
        counter-increment: item;
        margin-bottom: 0.4em;
        position: relative;
    }

        ol.persian li::before {
            content: counter(item, persian) ". ";
            position: absolute;
            right: -1.5em;
        }

/* لیست مرتب فارسی و زیبا */
ol.persian-styled {
    counter-reset: item;
    direction: rtl;
    list-style: none;
    padding-right: 1.5em;
    margin: 1em 0;
    font-family: "IRANSans", "Vazir", sans-serif;
}

    ol.persian-styled li {
        counter-increment: item;
        margin-bottom: 0.7em;
        position: relative;
        background: #f8f9fa;
        padding: 0.8em 1.2em;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        transition: transform 0.2s ease;
    }

        ol.persian-styled li:hover {
            transform: translateY(-2px);
        }

        ol.persian-styled li::before {
            content: counter(item, persian);
            position: absolute;
            right: -1.6em;
            top: 50%;
            transform: translateY(-50%);
            background: #007bff; /* رنگ دایره */
            color: white;
            font-weight: bold;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
