/* Apply Cairo font to the entire website */
body, p, a, span, input, textarea, select {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 400;
}

h1, h2, h3, .title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700;
}

h4, h5, h6 {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600;
}

.btn, .rts-btn, button {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 500;
}

.pre-title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 500;
}

/* Adjust letter spacing for better Arabic readability */
[lang="ar"] {
    letter-spacing: 0;
}

/* Responsive typography for CEO page and other sections */
@media (max-width: 768px) {
    h1.title {
        font-size: 32px !important;
    }
    h3.title {
        font-size: 24px !important;
    }
    .bread-tag {
        text-align: center;
        margin-top: 10px;
    }
}

/* FAQ Section Styles */
.rts-faq-area .title-area span {
    color: #28a745;
}

/* تكبير نص العنوان في قسم الأسئلة الشائعة للموبايل */
@media (max-width: 767px) {
    .rts-faq-area .title-area span {
        font-size: 18px;
        font-weight: 600;
    }
    
    .rts-faq-area .title-area .title {
        font-size: 30px;
        font-weight: 700;
        margin-top: 10px;
    }
}

.about-one-thumbnail img.round-img { border-radius: 30px; }

/* Team Section Custom Styles */
.team-desktop-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.team-desktop-view .team-card {
    flex: 0 0 calc(25% - 20px); /* Four cards per row, with 20px gap */
    max-width: calc(25% - 20px);
    margin-bottom: 20px; /* Adjusted margin */
}

@media (max-width: 1199px) {
    .team-desktop-view .team-card {
        flex: 0 0 calc(25% - 15px); /* Four cards per row, with 15px gap */
        max-width: calc(25% - 15px);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .team-desktop-view .team-card {
        flex: 0 0 calc(33.333% - 15px); /* Keep three cards for medium screens, adjust gap if needed */
        max-width: calc(33.333% - 15px);
    }
}

/* Custom Navigation Button */
.team-swiper-nav-button {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 10px;
}

.team-swiper-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.team-swiper-next:hover {
    transform: translateY(-3px);
    background-color: #797979;
}

.team-swiper-next:active {
    transform: translateY(0);
}

/* Ensure team cards have consistent height */
.team-single-one-start {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.team-desktop-view .team-single-one-start {
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-desktop-view .team-image-area {
    margin-bottom: 15px;
}

.team-desktop-view .team-image-area img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1/1;
    transition: transform 0.3s ease;
}

.team-desktop-view .team-image-area:hover img {
    transform: scale(1.05);
}

.team-desktop-view .single-details {
    text-align: center;
    padding: 5px 0;
}

.team-desktop-view .single-details h5.title {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.team-desktop-view .single-details p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
}

.team-single-one-start:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Animation for mobile swiper */
.swiper-slide-active .team-single-one-start {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0.7;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make sure desktop and mobile displays are properly separated */
@media (min-width: 768px) {
    .team-desktop-view {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    .team-desktop-view {
        display: none !important;
    }
    
    h1, h2, h3 {
        font-size: calc(100% + 0.8vw);
    }
    
    body, p {
        font-size: calc(90% + 0.2vw);
    }
}

.rts-btn {
    font-weight: 500;
}

/* Fix for Cairo font in specific sections */
.rts-title-area h2.title {
    font-weight: 700;
}

.nav-main ul.mainmenu > li > a, .nav-main ul.submenu > li > a {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 500;
}

/* Adjust text alignment for Arabic */
.text-end {
    text-align: right !important;
}

/* Styles for mobile menu description */
.body-mobile .desc-mobile {
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    text-align: right;
    font-weight: 400;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 15px;
}

/* Service Details Page Styling */
.service-feature-box {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-right: 4px solid #28a745;
}

.service-feature-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-feature-box .icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-feature-box .icon i {
    color: white;
    font-size: 24px;
}

.service-feature-box h5 {
    color: #111;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-feature-box p {
    color: #666;
    margin-bottom: 0;
}

/* تكبير حجم الخط للهواتف المحمولة */
@media (max-width: 767px) {
    .col-lg-6.col-md-6 .service-feature-box p {
        font-size: 16px;
        line-height: 1.7;
        font-weight: 500;
    }
    .col-lg-6.col-md-6 .service-feature-box h5 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
    }
}

.highlight-text {
    color: #28a745;
    font-weight: 600;
}

/* Why Choose Us Section */
.service-list {
    text-align: right;
    list-style: none;
    padding-right: 0;
    margin-bottom: 0;
}

.service-list li {
    position: relative;
    padding: 8px 30px 8px 0;
    font-weight: 500;
}

.service-list li i {
    position: absolute;
    right: 0;
    top: 11px;
    margin-left: 10px;
    color: #28a745;
}

/* Mobile line breaks for headings */
.mobile-break {
    display: inline;
}

@media (max-width: 767px) {
    .mobile-break {
        display: block;
        line-height: 1.4;
    }
    
    .mobile-break:not(:first-child) {
        margin-top: 5px;
    }
}

.process-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.process-card .number {
    width: 50px;
    height: 50px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: bold;
}

/* Feature Section Styles */
.feature-header .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Social Links Alignment */
.social-wrapper-two.footer {
    justify-content: flex-start !important;
}

.feature-header .subtitle {
    font-size: 1.1rem;
    color: #5a5a5a;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.feature-icon:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1c2539;
}

.feature-content p {
    color: #5a5a5a;
    line-height: 1.7;
}

.feature-bottom-text {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    border-top: 4px solid var(--color-primary);
}

@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-header .title {
        font-size: 2rem;
    }
    
    .feature-bottom-text {
        padding: 1.5rem;
    }
}

/* Custom logo sizing */
.logo-img {
    max-width: 160px;
    height: auto;
    transition: all 0.3s ease;
}

/* Sidebar logo specific sizing */
.rts-sidebar-menu-desktop .logo-img {
    max-width: 140px;
    margin: 15px 0;
    display: block;
}

@media (max-width: 991px) {
    .logo-img {
        max-width: 140px;
    }
    
    .rts-sidebar-menu-desktop .logo-img {
        max-width: 120px;
    }
}

@media (max-width: 767px) {
    .logo-img {
        max-width: 120px;
    }
    
    .rts-sidebar-menu-desktop .logo-img {
        max-width: 100px;
        margin: 10px 0;
    }
}

@media (max-width: 575px) {
    .logo-img {
        max-width: 100px;
    }
    
    .rts-sidebar-menu-desktop .logo-img {
        max-width: 90px;
    }
}

/* CEO Page Styles */
/* Team details section responsive improvements */
.details-thumb img {
    width: 75%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Center image on mobile versions */
@media (max-width: 767px) {
    .details-thumb {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .details-thumb img {
        width: 85%;
        margin: 0 auto;
    }
}

.team-details-support-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.team-details-support-wrapper i {
    font-size: 20px;
    min-width: 40px;
    color: #0B3D2C;
    margin-top: 5px;
}

.support-innner span {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.support-innner h5.title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 576px) {
    .pl--35 {
        padding-left: 15px !important;
    }
    
    .rts-breadcrumb-area {
        padding: 60px 0;
    }
    
    .rts-section-gap {
        padding: 50px 0;
    }
}

/* Skills section responsive improvements */
.single-about-skill-inner {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    height: 100%;
}

.education-skill-wrapper .single-skill {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.education-skill-wrapper .single-skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.number-area {
    background: #0B3D2C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Progress bar color */
.rts-progress-one-wrapper .progress-top .persectage {
    color: #28a745 !important;
}

.rts-progress-one-wrapper .meter span {
    background-color: #28a745 !important;
}

.rts-progress-one-wrapper .meter.cadetblue span,
.rts-progress-one-wrapper .meter.orange span {
    background-color: #28a745 !important;
}

.rts-progress-one-wrapper .progress-top .progress-title {
    color: #28a745 !important;
}

.single-about-skill-inner h5.title {
    color: #28a745;
}

/* Footer responsive improvements */
@media (max-width: 767px) {
    .footer-one-single-wized {
        margin-bottom: 30px;
    }
}

/* About Us Page Styles */
.about-us-section {
    padding: 80px 0;
}

.about-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card .icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.about-card h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

.timeline-section {
    position: relative;
    padding: 60px 0;
}

.timeline-section:before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #28a745;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 50%;
    top: 20px;
    background: #fff;
    border: 4px solid #28a745;
    border-radius: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

.timeline-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
}

.values-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.value-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-item .icon {
    font-size: 42px;
    color: #28a745;
    margin-bottom: 20px;
}

.value-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.team-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #28a745;
    bottom: 0;
    left: calc(50% - 25px);
}

.section-title p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Media queries for responsiveness - About Us page */
@media (max-width: 992px) {
    .timeline-section:before {
        left: 31px;
    }
    
    .timeline-item:before {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-item {
        padding-left: 80px;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .about-card, .value-item {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

/* About Us Page - Enhanced Mobile Typography and Spacing */
.about-us-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-us-section ul li {
    margin-bottom: 0.8rem;
}

.about-card, .value-item {
    margin-bottom: 2rem;
}

.about-card p:last-child, .value-item p:last-child {
    margin-bottom: 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .about-us-section p {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .about-card p, .value-item p {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .about-card ul li, .value-item ul li {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .about-us-section h2 {
        font-size: 28px;
        margin-bottom: 1rem;
    }
    
    .about-card h3 {
        font-size: 22px;
    }
    
    .value-item h4 {
        font-size: 20px;
    }
    
    .section-title p {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .cta-content p {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .about-us-section .ps-lg-4 {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* About Us page image styles */
.about-us-section .col-lg-6 img {
    max-width: 85%;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.about-us-section .col-lg-6 img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .about-us-section .col-lg-6 img {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    .about-us-section .col-lg-6 img {
        max-width: 70%;
        border-radius: 15px;
    }
}

/* Blog Grid Styles */
.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
}

.blog-card .thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-card .thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .thumbnail img {
    transform: scale(1.05);
}

.blog-card .blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #28a745;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.blog-card .blog-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card .blog-info i {
    color: #28a745;
    margin-left: 5px;
}

.blog-card .blog-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #222;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: #28a745;
}

.blog-card .blog-content {
    margin-bottom: 20px;
    flex: 1;
}

.blog-card .blog-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.blog-card .rts-btn {
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card .rts-btn:hover {
    transform: translateX(-5px);
}

/* Pagination styles */
.pagination {
    margin: 40px 0 0;
}

.pagination .page-item.active .page-link {
    background-color: #28a745;
    border-color: #28a745;
}

.pagination .page-link {
    color: #28a745;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #f0f0f0;
    color: #28a745;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsive Blog Grid */
@media (max-width: 991px) {
    .blog-card .thumbnail img {
        height: 200px;
    }
    
    .blog-card .blog-title {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .blog-card {
        margin-bottom: 30px;
    }
    
    .blog-card .thumbnail img {
        height: 180px;
    }
    
    .blog-card .blog-body {
        padding: 20px;
    }
    
    .blog-card .blog-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .blog-card .blog-info {
        font-size: 13px;
    }
    
    .blog-card .blog-content p {
        font-size: 15px;
    }
    
    .blog-card .blog-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .pagination .page-link {
        padding: 8px 12px;
        margin: 0 3px;
    }
}

/* Contact page styles */
.rts-contact-info-section .section-title .pre-title {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.rts-contact-info-section .section-title .title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.rts-contact-info-section .section-title .description {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.contact-info-card .icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-info-card .content .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-card .content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.rts-contact-form-map-section {
    background-color: #f8f9fa;
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper .form-title {
    margin-bottom: 30px;
}

.contact-form-wrapper .form-title h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-form-wrapper .form-title p {
    font-size: 16px;
    color: #666;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.map-wrapper {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    height: 100%;
    min-height: 450px;
}

.rts-business-hours-section {
    padding: 80px 0;
}

.rts-business-hours-section .section-title {
    margin-bottom: 40px;
}

.rts-business-hours-section .section-title .title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.business-hours-list {
    max-width: 500px;
    margin: 0 auto;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
    font-size: 18px;
}

.hours-item .time {
    font-size: 18px;
    color: var(--color-primary);
}

.hours-note {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px dashed #ddd;
}

.hours-note p {
    font-size: 16px;
    line-height: 1.6;
}

.rts-cta-section {
    background-color: var(--color-primary);
    padding: 80px 0;
    margin-bottom: 80px;
}

.rts-cta-section .cta-wrapper {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.rts-cta-section .cta-wrapper .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.rts-cta-section .cta-wrapper .description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.rts-cta-section .cta-wrapper .rts-btn {
    background-color: #fff;
    color: var(--color-primary);
    border: none;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rts-cta-section .cta-wrapper .rts-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* Responsive styles for contact page */
@media (max-width: 991px) {
    .rts-contact-form-map-section .row {
        flex-direction: column-reverse;
    }
    
    .map-wrapper {
        margin-bottom: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .rts-contact-info-section .section-title .title,
    .rts-cta-section .cta-wrapper .title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .contact-info-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .rts-contact-info-section .section-title .title,
    .rts-cta-section .cta-wrapper .title {
        font-size: 26px;
    }
    
    .rts-business-hours-section .section-title .title {
        font-size: 24px;
    }
    
    .hours-item .day,
    .hours-item .time {
        font-size: 16px;
    }
    
    .contact-form-wrapper .form-title h3 {
        font-size: 24px;
    }
}

/* FAQ Section Styling */
.rts-faq-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.rts-faq-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background-color: #f3f3f3;
    z-index: 0;
}

.rts-faq-section .container {
    position: relative;
    z-index: 1;
}

.rts-faq-section .title-area {
    margin-bottom: 60px;
}

.rts-faq-section .sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    padding: 8px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}

.rts-faq-section .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
    color: #28a745;
}

.accordion-wrapper-area {
    background-color: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.accordion-wrapper-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

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

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 17px;
    color: #28a745;
    background-color: #fff;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.accordion-button i {
    margin-left: 0;
    margin-right: 15px;
    font-size: 20px;
    color: #28a745;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #28a745;
    box-shadow: none;
}

.accordion-button:not(.collapsed) i {
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2328a745'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    background-color: #fff;
    border-top: 1px solid rgba(40, 167, 69, 0.1);
}

/* Hover effect */
.accordion-button:hover {
    background-color: rgba(40, 167, 69, 0.05);
}

.accordion-button:not(.collapsed):hover {
    background-color: #218838;
}

/* RTL specific adjustments */
html[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .accordion-button i {
    margin-right: 0;
    margin-left: 15px;
}

/* First item styling for better visual hierarchy */
.accordion-item:first-child .accordion-button {
    border-top: 3px solid #28a745;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .rts-faq-section {
        padding: 60px 0;
    }
    
    .rts-faq-section::before {
        width: 0;
    }
    
    .rts-faq-section .title {
        font-size: 28px;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .accordion-body {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .rts-faq-section {
        padding: 40px 0;
    }
    
    .rts-faq-section .title-area {
        margin-bottom: 40px;
    }
    
    .rts-faq-section .sub-title {
        font-size: 16px;
    }
    
    .rts-faq-section .title {
        font-size: 24px;
    }
    
    .accordion-button {
        font-size: 15px;
    }
    
    .accordion-wrapper-area {
        margin-bottom: 20px;
    }
}

/* Customer Testimonials Section Styling */
.rts-customer-feedback-area {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.rts-customer-feedback-area::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(28, 37, 57, 0.03);
    z-index: 0;
}

.rts-customer-feedback-area .container {
    position: relative;
    z-index: 1;
}

.rts-customer-feedback-area .title-area {
    margin-bottom: 60px;
}

.rts-customer-feedback-area .sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #1C2539;
    background-color: rgba(28, 37, 57, 0.1);
    padding: 8px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}

.rts-customer-feedback-area .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
    color: #1C2539;
}

.rts-testimonial-one-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.rts-testimonial-one-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.rts-testimonial-one-item .testimonial-inner {
    position: relative;
}

.rts-testimonial-one-item .quote-image {
    margin-bottom: 20px;
}

.rts-testimonial-one-item .quote-image img {
    width: 40px;
    opacity: 0.8;
}

.rts-testimonial-one-item .disc {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.rts-testimonial-one-item .testimonial-bottom-one {
    display: flex;
    align-items: center;
}

.rts-testimonial-one-item .testimonial-bottom-one .thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.rts-testimonial-one-item .testimonial-bottom-one .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rts-testimonial-one-item .testimonial-bottom-one .details .title {
    font-size: 18px;
    font-weight: 600;
    color: #1C2539;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rts-testimonial-one-item .testimonial-bottom-one .details .title:hover {
    color: #666;
}

.rts-testimonial-one-item .testimonial-bottom-one .details .designation {
    font-size: 14px;
    color: #777;
}

/* RTL specific adjustments for testimonials */
html[dir="rtl"] .rts-testimonial-one-item .testimonial-bottom-one .thumbnail {
    margin-right: 0;
    margin-left: 15px;
}

/* Responsive adjustments for testimonials */
@media (max-width: 991px) {
    .rts-customer-feedback-area {
        padding: 60px 0;
    }
    
    .rts-customer-feedback-area::before {
        width: 0;
    }
    
    .rts-customer-feedback-area .title {
        font-size: 28px;
    }
    
    .rts-testimonial-one-item {
        padding: 25px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .rts-customer-feedback-area {
        padding: 40px 0;
    }
    
    .rts-customer-feedback-area .title-area {
        margin-bottom: 40px;
    }
    
    .rts-customer-feedback-area .sub-title {
        font-size: 16px;
    }
    
    .rts-customer-feedback-area .title {
        font-size: 24px;
    }
    
    .rts-testimonial-one-item {
        padding: 20px;
    }
    
    .rts-testimonial-one-item .disc {
        font-size: 15px;
    }
}

/* Custom CSS */

/* Team Members Section Styles */
.our-team-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    margin: 20px 0;
}

.team-member-card {
    flex: 0 0 16%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 15px;
    text-align: center;
}

.member-name {
    margin: 0 0 5px;
    font-size: 16px;
    color: #222;
}

.member-role {
    margin: 0;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    padding: 0 5px;
}

/* Mobile Swiper Styles */
.team-members-swiper {
    padding-bottom: 40px;
}

.team-members-swiper .swiper-slide {
    width: 95%;
}

.team-members-swiper .swiper-pagination {
    bottom: 0;
}

@media (max-width: 767px) {
    .team-members-swiper .team-member-card {
        margin: 0 auto;
        max-width: 340px;
        width: 100%;
    }
    
    .member-role {
        font-size: 12px;
        padding: 0 5px;
    }
    
    .team-image {
        height: 320px;
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Make sure the member name is readable */
    .member-name {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    /* Adjust swiper width for mobile */
    .team-members-swiper .swiper-slide {
        width: 150%;
    }
}

/* Media queries for responsive design */
@media (max-width: 1200px) {
    .team-member-card {
        flex: 0 0 15.5%;
    }
}

@media (max-width: 991px) {
    .team-member-card {
        flex: 0 0 15%;
    }
}

@media (max-width: 768px) {
    .our-team-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .team-member-card {
        flex: 0 0 48%;
        margin-bottom: 20px;
    }
}

/* Swiper Auto-scroll Configuration (Initialized in JS) */

/* Critical CSS to be loaded first */
/* Font, layout and critical component styles */
body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* Content visibility for offscreen content */
.rts-section-gap:not(:first-of-type) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

/* Improve animation performance */
.transform-gpu {
    transform: translateZ(0);
    will-change: transform;
}
