﻿
/* Page Banner */
.page-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

    .page-banner h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .page-banner p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

/* Main Content */
main {
    padding: 3rem 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.form-group input {
    width:100% !important;
}
/* Contact Info */
.info-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

    .info-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--primary);
        position: relative;
        padding-bottom: 0.75rem;
    }

        .info-card h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary);
        }

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

    .info-item:last-of-type {
        border-bottom: none;
    }

    .info-item .icon {
        width: 40px;
        height: 40px;
        background-color: var(--primary-light);
        border-radius: 50%;
        flex-shrink: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 20px;
    }

.location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.email-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

.time-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.info-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.social-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

    .social-icon:hover {
        background-color: var(--primary);
    }

.instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
}

    .instagram:hover {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
    }

.telegram > svg * {
    stroke: #006A4E;
    width: 25px;
}

    .telegram:hover > svg * {
        background-color: var(--primary);
        stroke: #fff;
    }

.twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'%3E%3C/path%3E%3C/svg%3E");
}

    .twitter:hover {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'%3E%3C/path%3E%3C/svg%3E");
    }

.linkedin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'%3E%3C/path%3E%3Crect x='2' y='9' width='4' height='12'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2'%3E%3C/circle%3E%3C/svg%3E");
}

    .linkedin:hover {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'%3E%3C/path%3E%3Crect x='2' y='9' width='4' height='12'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2'%3E%3C/circle%3E%3C/svg%3E");
    }

/* Contact Form */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

    .form-card h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--primary);
        position: relative;
        padding-bottom: 0.75rem;
    }

        .form-card h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary);
        }

    .form-card p {
        font-size: 0.9375rem;
        color: var(--gray-600);
        margin-bottom: 1.5rem;
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .form-group label {
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--gray-700);
    }

.required {
    color: var(--red);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.1);
    }

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

    .submit-btn:hover {
        background-color: #4c9f89 ;
    }

/* Map Section */
.map-section {
    margin-bottom: 3rem;
}

    .map-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--primary);
        position: relative;
        padding-bottom: 0.75rem;
    }

        .map-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary);
        }

.map-container {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--primary);
        position: relative;
        padding-bottom: 0.75rem;
    }

        .faq-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary);
        }

.accordion {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-item {
    border-bottom: 1px solid var(--gray-200);
}

    .accordion-item:last-child {
        border-bottom: none;
    }

.accordion-header {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .accordion-header:hover {
        background-color: var(--gray-100);
    }

    .accordion-header h3 {
        font-size: 1.1rem;
        font-weight: 500;
    }

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

    .accordion-icon::before,
    .accordion-icon::after {
        content: '';
        position: absolute;
        background-color: var(--primary);
        transition: transform 0.3s ease;
    }

    .accordion-icon::before {
        top: 9px;
        left: 0;
        width: 20px;
        height: 2px;
    }

    .accordion-icon::after {
        top: 0;
        left: 9px;
        width: 2px;
        height: 20px;
    }

.accordion-item.active .accordion-icon::after {
    transform: rotate(90deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.25rem 1.25rem;
    max-height: 200px;
}

.accordion-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Footer Styles */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
}

/* Footer Header */
.footer-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 0;
}
 
.header-text {
    font-size: 0.9rem;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.logo img {
    height: 40px;
}

.accordion-item {
    border-bottom: 1px solid #e2e2e2;
    margin: 15px 0;
}

.accordion-header {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

    .accordion-header h3 {
        font-size: 16px;
        font-weight: 500;
        padding: 10px 0;
    }

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 0 15px;
    max-height: 200px;
}

.accordion-content p {
    color: #757575;
    font-size: 14px;
    padding: 15px 10px;
    text-align: right;
}
