
.contact-page {
    --ct-primary: var(--color-primary, rgb(39, 44, 73));
    --ct-secondary: var(--color-secondary, #ff0);

    --ct-bg-dark: #090b16;
    --ct-bg-mid: rgb(18, 21, 39);

    --ct-card: rgba(39, 44, 73, .62);
    --ct-card-dark: rgba(9, 11, 22, .72);

    --ct-yellow-03: rgba(255, 255, 0, .03);
    --ct-yellow-04: rgba(255, 255, 0, .04);
    --ct-yellow-06: rgba(255, 255, 0, .06);
    --ct-yellow-08: rgba(255, 255, 0, .08);
    --ct-yellow-12: rgba(255, 255, 0, .12);
    --ct-yellow-18: rgba(255, 255, 0, .18);
    --ct-yellow-25: rgba(255, 255, 0, .25);
    --ct-yellow-35: rgba(255, 255, 0, .35);

    direction: rtl;
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top right, var(--ct-yellow-04) 0%, transparent 30%),
        radial-gradient(circle at bottom left, rgba(39, 44, 73, .55) 0%, transparent 35%),
        linear-gradient(180deg, var(--ct-bg-mid) 0%, var(--ct-bg-dark) 100%);
}

.contact-page * {
    box-sizing: border-box;
}

/* ================= Glow ================= */

.contact-page .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}

.contact-page .glow-1 {
    width: 350px;
    height: 350px;
    background: var(--ct-yellow-08);
    top: -120px;
    right: -120px;
    opacity: 1;
}

.contact-page .glow-2 {
    width: 320px;
    height: 320px;
    background: rgba(39, 44, 73, .75);
    bottom: -120px;
    left: -120px;
    opacity: 1;
}

/* ================= Hero ================= */

.contact-hero {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 95px 20px 70px;
    background:
        linear-gradient(135deg, rgba(39, 44, 73, .96) 0%, #080a14 100%),
        radial-gradient(circle at 70% 45%, var(--ct-yellow-06) 0%, transparent 65%);
    border-bottom: 1px solid var(--ct-yellow-18);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid var(--ct-yellow-12);
    border-radius: 28px;
    pointer-events: none;
}

.contact-hero h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.5;
}

.contact-hero p {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    color: #e6e6e6;
    font-size: 17px;
    line-height: 2.1;
}

/* ================= Main Grid ================= */

.contact-grid {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 30px));
    margin: 55px auto 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form-card,
.contact-info-card {
    position: relative;
    min-width: 0;
    border-radius: 24px;
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
        rgba(39, 44, 73, .58);
    border: 1px solid var(--ct-yellow-18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
    overflow: hidden;
}

.contact-form-card::before,
.contact-info-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    left: -90px;
    top: -90px;
    background: radial-gradient(circle, var(--ct-yellow-04) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form-card h2 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 24px;
    margin: 0 0 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ct-yellow-25);
}

/* ================= Form ================= */

.contact-form-card form {
    position: relative;
    z-index: 2;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
    width: 100%;
    color: #fff;
    background: rgba(9, 11, 22, .50);
    border-radius: 16px;
    border: 1px solid var(--ct-yellow-18) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .10);
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
    transition: .3s ease;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: rgba(255, 255, 255, .58);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
    color: #fff;
    background: rgba(9, 11, 22, .68) !important;
    border-radius: 16px !important;
    border: 1px solid var(--ct-yellow-35) !important;
    box-shadow: 0 0 0 1px var(--ct-yellow-08), 0 8px 24px rgba(0, 0, 0, .18) !important;
    outline: none !important;
}

.contact-form-card input[type="submit"],
.contact-form-card button,
.contact-form-card .btn-primary {
    background: rgba(39, 44, 73, .92);
    border: 1px solid var(--ct-yellow-25) !important;
    color: #fff;
    border-radius: 14px;
    transition: .3s ease;
}

.contact-form-card input[type="submit"]:hover,
.contact-form-card button:hover,
.contact-form-card .btn-primary:hover {
    background: rgba(255, 255, 255, .10);
    border-color: var(--ct-yellow-35) !important;
    transform: translateY(-2px);
}

/* ================= Contact Info ================= */

.contact-info-card .footer-col.contact-info {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-info-card .footer-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ct-yellow-25);
}

.contact-info-card .contact-infoe {
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: #fff;
}

.contact-info-card .contact-items {
    list-style: none;
    color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
}

.contact-info-card .contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ct-yellow-12);
    transition: .3s ease;
}

.contact-info-card .contact-item:hover {
    background: rgba(255, 255, 255, .09);
    border-color: var(--ct-yellow-25);
    transform: translateY(-2px);
}

.contact-info-card .contact-item .label {
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
}

.contact-info-card .contact-item a,
.contact-info-card .contact-item span:not(.label) {
    color: #fff;
    text-decoration: none;
    text-align: left;
    direction: ltr;
}

.contact-info-card p {
    margin: 10px 0 0;
    color: #e6e6e6;
    line-height: 2;
}

/* ================= Social ================= */

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.social-item a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--ct-yellow-18);
    transition: .3s ease;
}

.social-item a:hover {
    transform: translateY(-4px);
    background: rgba(39, 44, 73, .95);
    border-color: var(--ct-yellow-35);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

.social-item svg {
    width: 24px;
    height: 24px;
}

.social-item svg path {
    fill: #fff;
}

/* ================= Map ================= */

.map-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--ct-yellow-18);
    background: rgba(9, 11, 22, .60);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(.15) contrast(.95);
}

/* ================= FAQ Same Theme ================= */

.contact-page .faq-section {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 30px));
    margin: 0 auto 80px;
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
        rgba(39, 44, 73, .58);
    border: 1px solid var(--ct-yellow-18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
}

.contact-page .faq-section .accordion-item,
.contact-page .faq-section .faq-item {
    background: rgba(9, 11, 22, .45);
    border: 1px solid var(--ct-yellow-12);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}

.contact-page .faq-section .accordion-button {
    background: transparent;
    color: #fff;
    box-shadow: none;
    text-align: right;
    direction: rtl;
}

.contact-page .faq-section .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-bottom: 1px solid var(--ct-yellow-12);
}

.contact-page .faq-section .accordion-button:focus {
    box-shadow: none;
}

.contact-page .faq-section .accordion-body {
    color: #e6e6e6;
    line-height: 2;
    text-align: justify;
}

/* ================= Responsive ================= */

@media only screen and (max-width: 992px) {
    .faq-section div#faqAccordion {
        margin: 0 !important;
        padding: 0 !important;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        margin: 35px auto 55px;
    }

    .contact-hero {
        padding: 75px 15px 55px;
    }
}

@media only screen and (max-width: 768px) {
    .contact-grid,
    .contact-page .faq-section {
        width: calc(100% - 20px);
    }

    .contact-form-card,
    .contact-info-card,
    .contact-page .faq-section {
        padding: 16px;
        border-radius: 18px;
    }

    .contact-hero::before {
        inset: 10px;
        border-radius: 18px;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-info-card .contact-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-info-card .contact-item a,
    .contact-info-card .contact-item span:not(.label) {
        text-align: right;
        direction: rtl;
    }

    .map-box {
        height: 260px;
    }
}

/* ==================
repair-form
======================= */

.repair-form {
    background: var(--color-primary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);

    backdrop-filter: blur(10px);
}

.repair-form .form-group {
    margin-bottom: 20px;
}

.repair-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.repair-form input,
.repair-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    color: #fff;
    transition: all .3s ease;
}

.repair-form input::placeholder,
.repair-form textarea::placeholder {
    color: rgba(255,255,255,.5);
}

.repair-form input:hover,
.repair-form textarea:hover {
    border-color: rgba(37,205,199,.5);
}

.repair-form input:focus,
.repair-form textarea:focus {
    outline: none;

    border-color: var(--color-accent);

    background: rgba(255,255,255,.08);

    box-shadow:
        0 0 0 3px rgba(37,205,199,.15),
        0 0 15px rgba(37,205,199,.2);

    transform: translateY(-1px);
}

.repair-form textarea {
    min-height: 150px;
    resize: vertical;
}

.repair-form input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.repair-form input[type="file"]::-webkit-file-upload-button {
    background: var(--color-accent);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    margin-left: 10px;
}

.repair-form small {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.7);
}

.repair-form button {
    width: 100%;
    border: 0;
    cursor: pointer;

    padding: 16px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 700;

    background: var(--color-secondary);

    color: var(--color-primary);

    position: relative;
    overflow: hidden;

    transition: all .3s ease;
}

.repair-form button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(255,255,0,.25);
}

.repair-form button:active {
    transform: translateY(0);
}

.repair-form button::before {
    content: '';

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );

    transition: .7s;
}

.repair-form button:hover::before {
    left: 150%;
}

.alert-success {
    background: var(--color-accent);
    color: #fff;

    padding: 15px 20px;

    border-radius: 12px;

    margin-bottom: 20px;

    font-weight: 600;
}

@media (min-width: 768px) {
    

    .repair-form {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .repair-form .form-group:nth-child(5),
    .repair-form .form-group:nth-child(6),
    .repair-form .form-group:nth-child(7) {
        grid-column: 1 / -1;
    }

    .repair-form button {
        grid-column: 1 / -1;
    }
}
/* ==================
FAQ Section
======================= */

.accordion-collapse.collapse.show {
    border-top: 1px solid var(--color-secondary) !important;
}

.faq-custom {
    padding: 0 20px;
}

/* هر آیتم FAQ */
.faq-custom .faq-item {
    margin-bottom: 12px;
    background: var(--color-primary);
    overflow: hidden;
    border: 1px solid var(--color-secondary);
    border-radius: 10px;
}

/* دکمه سوال */
.faq-custom .accordion-button {
    background: var(--color-primary);
    color: #fff;
    padding: 18px 20px;
    text-align: right;
    direction: rtl;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* فلش آکاردئون سمت چپ */
.faq-custom .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
    filter: brightness(0) saturate(100%) invert(56%) sepia(95%) saturate(378%) hue-rotate(5deg);
}

/* حالت باز سوال */
.faq-custom .accordion-button:not(.collapsed) {
    background: var(--color-primary);
    color: var(--color-secondary);
}

/* بدنه جواب */
.faq-custom .accordion-body {
    background: var(--color-primary);
    color: #fff;
    text-align: right;
    padding: 15px 20px;
}