﻿/* استایل اختصاصی حالت موبایل و تبلت برای صفحه Services.aspx */
@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
    }

    .navbar-custom {
        padding: 12px 0;
    }

        .navbar-custom .navbar-brand {
            font-size: 1.25rem;
        }

        .navbar-custom .navbar-toggler {
            padding: 6px 10px;
            border-radius: 8px;
            font-size: 1rem;
        }

        .navbar-custom .navbar-collapse {
            padding-top: 12px;
            padding-bottom: 6px;
            border-top: 1px solid #eceff2;
            margin-top: 10px;
        }

        .navbar-custom .navbar-nav {
            gap: 4px;
        }

        .navbar-custom .nav-link {
            margin: 0;
            padding: 8px 6px;
            font-size: 0.95rem;
        }

        .navbar-custom .navbar-actions {
            width: 100%;
            justify-content: space-between;
            gap: 10px !important;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #eceff2;
        }

            .navbar-custom .navbar-actions .btn-outline-custom {
                padding: 8px 14px;
                font-size: 0.88rem;
                white-space: nowrap;
            }
}

@media (max-width: 767.98px) {
    .top-bar {
        font-size: 0.78rem;
        padding: 6px 0;
    }

        .top-bar .container {
            gap: 6px 12px;
            justify-content: center !important;
        }

        .top-bar .info-item {
            font-size: 0.78rem;
            line-height: 1.4;
        }

    .section-title {
        font-size: 1.25rem;
        margin-top: 18px;
        margin-bottom: 16px;
    }

    .service-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

        .service-card .icon-wrapper {
            width: 52px;
            height: 52px;
            font-size: 1.3rem;
            margin-bottom: 12px;
        }

        .service-card h5 {
            font-size: 1rem;
            margin-bottom: 8px;
        }

        .service-card p {
            font-size: 0.85rem;
            line-height: 1.65;
        }

        .service-card .btn-details {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            width: 100%;
            font-size: 0.88rem;
            border-radius: 8px;
        }

    .footer {
        padding: 28px 0 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
        margin-top: 32px;
        font-size: 0.85rem;
    }

        .footer .row {
            row-gap: 20px;
        }

        .footer h6 {
            margin-bottom: 10px;
            font-size: 0.95rem;
        }

        .footer .contact-info li {
            align-items: flex-start;
            word-break: break-word;
        }

    .footer-bottom {
        margin-top: 14px;
        padding-top: 14px;
        font-size: 0.76rem;
    }
}

@media (max-width: 380px) {
    .section-title {
        font-size: 1.12rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.12rem;
    }
}
