﻿/* --- استایل‌های زیبا و ریسپانسیو --- */
.page-title {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 5px 15px rgba(53, 122, 189, 0.3);
    text-align: center;
}

    .page-title h3 {
        font-size: 2.5rem;
        color: #fff;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

.breadcrumb {
    background: transparent;
    justify-content: center;
    font-size: 1rem;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    color: #d0e2ff;
}

    .breadcrumb li a {
        color: #d0e2ff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb li a:hover {
            color: #fff;
            text-decoration: underline;
        }

.dot-divider::before {
    content: "•";
    color: #d0e2ff;
    margin: 0 8px;
}

.service-description a {
    color: #357ABD;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .service-description a:hover {
        color: #1d3c75;
        text-decoration: underline;
    }

.service-description p {
    text-align: justify;
    direction: rtl;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
    background-color: #f8faff;
    box-shadow: 0 3px 12px rgba(53, 122, 189, 0.1);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

    .contact-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(53, 122, 189, 0.2);
    }

    .contact-box .icon {
        color: #357ABD;
        margin-bottom: 15px;
        flex-shrink: 0;
    }

    .contact-box h5 {
        font-weight: 700;
        margin-bottom: 12px;
        color: #1a2c52;
        font-size: 1.25rem;
    }

    .contact-box p {
        margin-bottom: 8px;
        font-size: 1.1rem;
        color: #3b4b72;
        word-break: break-word;
        white-space: normal;
    }

        .contact-box p a {
            color: #357ABD;
            font-weight: 600;
            text-decoration: none;
            word-break: break-word;
            display: inline-block;
            max-width: 100%;
        }

            .contact-box p a:hover {
                text-decoration: underline;
            }

.contact-text {
    background-color: #f8faff;
    padding: 30px 25px 90px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(53, 122, 189, 0.12);
    position: relative;
    min-height: 350px;
    color: #3b4b72;
    direction: rtl;
}

    .contact-text h4 {
        color: #1a2c52;
        font-weight: 800;
        margin-bottom: 15px;
        text-align: right;
    }

    .contact-text h6 {
        font-weight: 700;
        color: #357ABD;
        margin-top: 30px;
        margin-bottom: 10px;
        text-align: right;
    }

    .contact-text p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 8px;
        text-align: right;
    }

    .contact-text strong {
        color: #1a2c52;
    }

    .contact-text img {
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid #1a2c52;
        box-shadow: 0 8px 20px rgba(53, 122, 189, 0.3);
        transition: transform 0.3s ease;
    }

        .contact-text img:hover {
            transform: scale(1.05);
        }

@media (max-width: 991px) {
    .contact-text img {
        position: static !important;
        display: block;
        margin: 15px auto 0 auto;
        width: 130px;
        height: 130px;
        box-shadow: 0 6px 18px rgba(53, 122, 189, 0.25);
    }

    .contact-text {
        padding-bottom: 50px;
    }
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(53, 122, 189, 0.15);
}

    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        border: 0;
        border-radius: 20px;
    }

form .form-label {
    font-weight: 600;
    color: #1a2c52;
}

form .form-control {
    border-radius: 12px;
    border: 1.5px solid #d1d9f0;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}

    form .form-control:focus {
        border-color: #357ABD;
        box-shadow: 0 0 8px rgba(53, 122, 189, 0.4);
    }

.btn-success {
    background: linear-gradient(45deg, #357ABD, #4A90E2);
    border: none;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 12px;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(53, 122, 189, 0.25);
    transition: background 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
}

    .btn-success:hover {
        background: linear-gradient(45deg, #4A90E2, #357ABD);
        box-shadow: 0 9px 22px rgba(53, 122, 189, 0.35);
    }

.invalid-feedback {
    font-size: 0.9rem;
    color: #dc3545;
}

.g-recaptcha {
    display: inline-block;
    transform: scale(0.9);
    transform-origin: center;
}

p {
    text-align: justify;
}

.skill-badge {
    background-color: #f1f1f1;
    border-radius: 30px;
    padding: 10px 18px;
    margin: 5px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .skill-badge:hover {
        background-color: #007bff;
        color: white;
        transform: scale(1.05);
    }
