@import url("layout.css?5");

.terms .header {
    height: 419px;
    margin-bottom: 43px;
}

.privacy .header {
    height: 419px;
    margin-bottom: 70px;
}

.terms .term-data .term-title {
    font-size: 48px;
    color: var(--navyBlueColor);
    margin-bottom: 30px;
}

.terms .term-data .term-desc {
    font-size: 20px;
    line-height: 1.5;
    width: 55%;
}

.terms .content {
    margin-bottom: 100px;
}

.terms .updateDate {
    font-size: 16px;
    padding-bottom: 11px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E7E7E9;
}

.terms .content p {
    margin-bottom: 20px;
    font-size: 18px;
}

.terms .content p:last-child {
    margin-bottom: 0px;
}

.terms .backcolorBox {
    background-color: #EEF2F5;
    height: 419px;
    position: absolute;
    width: 25%;
    top: 75px;
}

.ltr .terms .backcolorBox {
    right: 0px;
}

.rtl .terms .backcolorBox {
    left: 0px;
}

.terms img {
    height: 419px;
    width: 277px;
    position: absolute;
    z-index: 50;
}

.terms .title {
    font-size: 20px;
    margin-bottom: 15px;
}

.privacy svg.ico {
    width: 558px;
    height: 419px;
    position: absolute;
    z-index: 50;
}

.privacy .term-data .term-desc {
    width: 65%;
}

.AboutPage {
    padding-bottom: 120px;
}

.AboutPage .aboutUs {
    padding: 120px 0px;
}

.AboutPage .detail-title {
    margin-top: 30px;
}

.about-head {
    padding-bottom: 70px;
    background-color: var(--lightGrayColor);
}

.about-head .detail-desc {
    margin-bottom: 40px;
}

.back-col {
    background-color: #FAFBFC;
    padding: 0px
}

.back-col img {
    max-height: 293px;
}

.one {
    padding: 35px 30px;
    height: 293px;
    width: 100%
}

.one-title {
    font-size: 30px;
    margin-bottom: 11px;
    color: var(--navyBlueColor);
}

.one-desc {
    font-size: 20px;
    color: var(--allBlackColor);
    margin-bottom: 0px;
}

.icon-trioA {
    width: 44px;
    height: 44px;
    display: inline-block;
    background-size: cover;
}

.icon-trio {
    width: 44px;
    height: 44px;
    vertical-align: inherit !important;
}

.icon-eye {
    background-image: url('/Files/imgs/About/eye.svg');
}

.icon-stratgy {
    background-image: url('/Files/imgs/About/strategy.svg');
}

.icon-brain {
    background-image: url('/Files/imgs/About/brain.svg');
}

.value-title {
    font-size: 30px;
    color: var(--allBlackColor);
    margin-bottom: 80px;
}

.value-icon {
    width: 82px;
    height: 80px;
    display: inline-block;
    background-size: cover;
}

.bus-value {
    color: var(--allBlackColor);
    margin-top: 25px;
    margin-bottom: 0px;
}

.know-icon {
    background-image: url('/Files/imgs/About/Know.svg');
}

.exp-icon {
    background-image: url('/Files/imgs/About/exp.svg');
}

.effi-icon {
    background-image: url('/Files/imgs/About/effi.svg');
}

.comm-icon {
    background-image: url('/Files/imgs/About/comm.svg');
}

.rgd-icon {
    background-image: url('/Files/imgs/About/rgd.svg');
}

.wdc-icon {
    background-image: url('/Files/imgs/About/wdc.svg');
}

.contact-title {
    font-size: 48px;
    color: var(--navyBlueColor);
}

.contact-desc {
    font-size: 70px;
    color: var(--allBlackColor);
    line-height: 74px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.sub-descContact {
    font-size: 20px;
    color: var(--allBlackColor);
    margin-bottom: 60px;
}

.loc-title {
    font-size: 30px;
    color: var(--allBlackColor);
    margin-bottom: 30px;
}

.ContactForm {
    background-color: #E8F5FF;
    padding: 40px;
    border-radius: 8px;
}

.ContactForm .inputGroup input,
.ContactForm textarea {
    background-color: #F6F9FC;
}

.ContactForm input[type="text"]:focus,
.ContactForm input[type="email"]:focus,
.ContactForm textarea:focus {
    background-color: #F6F9FC;
    border: none;
    box-shadow: none;
}

.rtl .contactUsPage .form-check input {
    float: right;
    margin-left: 15px;
    margin-right: 0px;
}

.ContactForm textarea {
    height: 85px;
    border: none;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"] {
    height: 50px;
    border: none;
}

.ContactForm .form-check {
    margin-bottom: 30px;
}

.ContactForm .form-check label {
    color: var(--allBlackColor);
    font-size: 14px;
}

.ContactForm .form-check-input:checked {
    background-color: var(--primaryColor) !important;
    color: #fff;
    box-shadow: none;
}

.ContactForm .form-check-input:focus {
    box-shadow: none;
}

.contact-lbl {
    color: var(--allBlackColor);
    margin-bottom: 10px;
}

.comm-title {
    font-size: 20px;
    color: var(--allBlackColor);
}

.inputGroup {
    margin-bottom: 40px;
}

.comm-desc {
    color: var(--allBlackColor);
}

.submit {
    color: #fff !important;
    background-color: var(--navyBlueColor) !important;
    border-color: var(--navyBlueColor) !important;
    width: 140px;
    margin-top: 30px;
}

.submit:hover {
    background-color: #073B61 !important;
    border-color: #073B61 !important;
}

.icon-home {
    background-image: url(/Files/imgs/home.svg);
}

.ltr .contactUsPage input.phone {
    border-radius: 0px 8px 8px 0px !important;
}

.contactUsPage div.codeInput {
    background-color: #F6F9FC;
    border: none
}

.rtl .contactUsPage input.phone {
    border-radius: 0px 8px 8px 0px !important;
}

@media (max-width:1400px) {
    .one-desc {
        font-size: 16px;
    }
}

@media (max-width:1149px) {

    .terms img,
    .privacy svg.ico {
        position: static;
        width: 100%;
    }

    .terms .backcolorBox {
        display: none;
    }
}

@media (max-width:769px) {
    .one-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .one-desc {
        font-size: 16px;
    }

    .icon-trio {
        width: 24px;
        height: 24px;
    }

    .value-icon {
        width: 71px;
        height: 71px;
    }

    .value-title {
        font-size: 20px;
    }
}

@media (max-width:768px) {
    .one {
        height: fit-content;
        padding: 30px 16px;
    }

    .AboutPage .aboutUs {
        padding: 60px 0px;
    }

    .AboutPage {
        padding-bottom: 60px;
    }

    .ContactForm {
        width: 87%;
        margin-top: 40px;
    }

    .bus-value {
        margin-bottom: 30px;
    }

    .terms .header {
        height: 350px;
        margin-bottom: 30px;
    }

    .privacy .header {
        height: 350px;
        margin-bottom: 40px;
    }

    .terms .term-data .term-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .terms .term-data .term-desc {
        font-size: 16px;
        width: 100%;
    }

    .terms .content {
        margin-bottom: 60px;
    }

    .terms .content p {
        font-size: 16px;
    }

    .terms img,
    .privacy svg.ico {
        display: none;
    }

    .terms .title {
        font-size: 18px;
    }

    .privacy .term-data .term-desc {
        width: 100%;
    }

    .contactUsPage .col-md-8 .row {
        justify-content: center !important;
    }

    .contact-title {
        font-size: 30px;
    }

    .contact-desc {
        font-size: 30px;
        margin-top: 20px;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    .sub-descContact {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .loc-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .ContactForm {
        padding: 20px;
        margin-bottom: 60px;
    }

    .ContactForm .form-check {
        margin-bottom: 20px;
    }

    .comm-title {
        font-size: 16px;
    }
}


/* Terms and Conditions Styling - For both English and Arabic */
:root {
    --primary-color: #0f9ace;
    --secondary-color: #073B61;
    --accent-color: #E8F5FF;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
}

/* Common styles for both languages */
body.terms-page {
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
}

/* Font families based on language */
html[dir="ltr"] body.terms-page {
    font-family: 'Poppins', sans-serif;
}

html[dir="rtl"] body.terms-page {
    font-family: 'Tajawal', sans-serif;
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.page-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    opacity: 0.9;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    position: relative;
}

.terms-section {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* LTR (English) specific styles */
html[dir="ltr"] .terms-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    text-align: left;
}

html[dir="ltr"] .terms-section p {
    text-align: left;
}

html[dir="ltr"] .btn-primary i {
    margin-right: 0.5rem;
    margin-left: 0;
}

/* RTL (Arabic) specific styles */
html[dir="rtl"] .terms-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-right: 2px solid var(--primary-color);
    border-bottom: none;
    padding-right: 0.5rem;
    display: inline-block;
    text-align: right;
}

html[dir="rtl"] .terms-section p {
    text-align: right;
}

html[dir="rtl"] .btn-primary i {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Common styles continued */
.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.terms-section strong {
    color: var(--secondary-color);
}

.back-to-home {
    margin-top: 3rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .terms-section {
        padding: 1.5rem;
    }
}
