body {
    display: flex;
}

.main-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    padding: 0px 50px;
    padding-bottom: 50px;
}

main .heading {
    display: flex;
    flex-direction: column;
}
main .heading h1 {
    font-size: 32px;
    font-weight: 700;
}
main .heading span {
    font-size: 18px;
    font-weight: 500;
    color: #7D7987;
}

.main-container {
width: 100%;
display: flex;
justify-content: center;
padding: 0px 20px;
}

.content-wrapper {
width: 100%;
display: flex;
gap: 30px;
align-items: flex-start;
height: -webkit-fill-available;
}

.left-section {
flex: 1;
background: white;
gap: 20px;
padding: 20px 32px;
border-radius: 10px;
box-shadow: 0px 1px 6px 0px #00000026;
height: 100%;
display: flex;
flex-direction: column;
}

.contact-header {
text-align: center;
margin-bottom: 40px;
display: flex;
flex-direction: column;
align-items: center;
}

.contact-title {
color: var(--primary-color);
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 15px;
}

.contact-subtitle {
color: #6c757d;
font-size: 1rem;
line-height: 1.5;
max-width: 500px;
}

.form-container {
display: flex;
flex-direction: column;
gap: 15px;
flex: 1;
}

.form-group {
display: flex;
flex-direction: column;
}

.form-label {
color: #333;
font-weight: 600;
margin-bottom: 8px;
font-size: 1rem;
}

.required {
color: #dc3545;
}

.form-control {
padding: 12px 15px;
border: unset;
border-radius: 8px;
font-size: 1rem;
background-color: white;
}
.form-control:focus {
    border: 1px solid var(--primary-color);
    box-shadow: none;
}
.comments-textarea {
min-height: 140px;
resize: none;
}

.send-btn {
background-color: var(--primary-color);
color: white;
border: none;
padding: 10px 30px;
border-radius: 50px;
width: 100%;
font-weight: bold;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
align-self: flex-start;
letter-spacing: 1px;
}
.send-btn span {
    color: #FFFFFF;
}

.send-btn:hover {
background-color: #180168;
}

.right-section {
flex: 1;
display: flex;
flex-direction: column;
gap: 15px;
height: 100%;
}

.support-section {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 1px 6px 0px #00000026;
display: flex;
flex-direction: column;
gap: 20px;
}

.support-title {
color: #333;
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 20px;
}

.social-icons {
display: flex;
gap: 5px;
margin-bottom: 20px;
}

.social-icon {
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-decoration: none;
font-size: 1.2rem;
transition: transform 0.3s ease;
}
.social-icon svg {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.social-icon:hover {
transform: scale(1.1);
}

.faq-section {
background: white;
padding: 20px 32px;
border-radius: 10px;
box-shadow: 0px 1px 6px 0px #00000026;
display: flex;
flex-direction: column;
gap: 20px;
}

.faq-title {
color: #333;
font-size: 1.3rem;
font-weight: bold;
margin-bottom: 20px;
text-align: center;
}

.accordion-button {
    background-color: #F8F8F8;
    border: 1px solid transparent;
    color: #000000;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px !important;
    margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 3px 3px 3px 3px #EFEBFF;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12H19' stroke='url(%23paint0_linear_6068_925)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 5V19' stroke='url(%23paint1_linear_6068_925)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_6068_925' x1='12' y1='12' x2='12' y2='13' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%232A1284'/%3E%3Cstop offset='1' stop-color='%239164F4'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear_6068_925' x1='12.5' y1='5' x2='12.5' y2='19' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%232A1284'/%3E%3Cstop offset='1' stop-color='%239164F4'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed)::after {
transform: rotate(180deg);
}

.accordion-body {
background-color: white;
padding: 20px;
border: 1px solid #e9ecef;
border-top: none;
border-radius: 0 0 5px 5px;
margin-bottom: 10px;
color: #666;
line-height: 1.6;
}

.accordion-item {
border: none;
margin-bottom: 10px;
}

.accordion-item:last-child {
margin-bottom: 0;
}

.vertical-divider {
width: 1px;
background-color: #e9ecef;
margin: 0 20px;
align-self: stretch;
}

@media (max-width: 768px) {
.content-wrapper {
flex-direction: column;
gap: 20px;
}

.contact-title {
font-size: 2rem;
}

.left-section,
.support-section,
.faq-section {
padding: 20px;
}

.vertical-divider {
display: none;
}
}

@media screen and (max-width: 500px) {
    main {
        padding: 0px !important;
        padding-bottom: 20px !important;
        margin-top: 80px;
    }
    .main-container {
        padding: 0px 10px;
    }
    .left-section, .support-section, .faq-section {
        padding: 12px;
    }
}

[lang='ar'] {
    .accordion-button::after {
        margin-right: auto;
        margin-left: unset;
    }
    .accordion-button {
        text-align: right !important;
    }
    .iti-mobile .iti--container{
    direction: ltr;
    width: 90%;
    transform: translateX(-5%);
    }
}








/* modaslaaaaaaallll */



#emailSuccessModal .modal-content {
    border: none;
    border-radius: 20px;
    width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 260px;
}

#emailSuccessModal .modal-header {
    border-bottom: none;
    padding: 10px 10px 0px;
    position: relative;
}

#emailSuccessModal .modal-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    width: 100%;
    margin: 0;
}
#emailSuccessModal .btn-close {
    position: static !important;
    font-size: 24px;
    font-weight: 600;
    color: #EB4335;
    background: none;
    border: none;
    opacity: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: unset !important;
    padding: unset !important;
}

#emailSuccessModal .btn-close:hover {
    color: #ff6666;
}

#emailSuccessModal .modal-body {
    padding: 20px 40px 0px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: unset !important;
}

#emailSuccessModal .modal-body p {
    font-size: 20px;
    color: #494949;
    line-height: 24px;
    margin-bottom: 26px;
}

#emailSuccessModal .btn-okay {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 60px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 50px;
    width: 230px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

#emailSuccessModal .btn-okay:hover {
    background-color: #3A2AEF;
    transform: translateY(-2px);
}

#emailSuccessModal .btn-okay:active {
    transform: translateY(0);
}

#emailSuccessModal .modal-dialog {
    max-width: 600px;
    margin: 10vh auto;
}

@media (max-width: 576px) {
    #emailSuccessModal .modal-dialog {
        margin: 5vh 15px;
    }
    
    #emailSuccessModal .modal-title {
        font-size: 24px;
    }
    
   #emailSuccessModal .modal-body p {
        font-size: 16px;
    }
    
    #emailSuccessModal .modal-header,
    #emailSuccessModal .modal-body {
        padding-left: 25px;
        padding-right: 25px;
    }
}