@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500,600,700,800|Open+Sans:300,400,600,700');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


html {
  overflow-x: hidden;
}

.side-nav .navbar-nav .nav-item {
  text-align: start;
}
.side-footer{
  text-align: start;
}
/* Mobile Hero Text Responsive Styles */
.hero-title-mobile {
    font-size: 3.5rem !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.hero-subtitle-mobile {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* Tablet Responsive */
@media (max-width: 991.98px) {
    .hero-title-mobile {
        font-size: 2.8rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle-mobile {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .hero-title-mobile {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
        margin: 0 15px !important;
        padding: 0 10px !important;
    }
    
    .hero-subtitle-mobile {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin: 0 15px !important;
        padding: 0 10px !important;
    }
}

/* Small Mobile Responsive */
@media (max-width: 575.98px) {
    .hero-title-mobile {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin: 0 10px !important;
        padding: 0 5px !important;
    }
    
    .hero-subtitle-mobile {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin: 0 10px !important;
        padding: 0 5px !important;
    }
}

/* RTL specific styles for Arabic text */
[dir="rtl"] .hero-title-mobile,
[dir="rtl"] .hero-subtitle-mobile {
    text-align: center !important;
    word-break: break-word !important;
}

/* Extra small screens */
@media (max-width: 320px) {
    .hero-title-mobile {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        margin: 0 5px !important;
        padding: 0 !important;
    }
    
    .hero-subtitle-mobile {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin: 0 5px !important;
        padding: 0 !important;
    }
}

/* Revolution Slider text layer fixes */
.tp-caption.hero-title-mobile,
.tp-caption.hero-subtitle-mobile {
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
}

@media (max-width: 767px) {
    .tp-caption.hero-title-mobile,
    .tp-caption.hero-subtitle-mobile {
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center !important;
    }
}

/* Revolution Slider Mobile Overflow Fix */
.rev_slider_wrapper {
    overflow: hidden !important;
}

.rev_slider {
    overflow: hidden !important;
}

/* Mobile Banner Container Fix */
@media (max-width: 768px) {
    .rev_slider_wrapper, 
    .rev_slider,
    .tp-bgimg {
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    
    .tp-caption {
        max-width: calc(100vw - 30px) !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
    }
    
    /* Force text layers to respect container width */
    .tp-caption h1,
    .tp-caption h2,
    .tp-caption h3,
    .tp-caption h4,
    .tp-caption p {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
    .tp-caption {
        max-width: calc(100vw - 20px) !important;
        margin: 0 10px !important;
    }
    
    .hero-title-mobile {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-subtitle-mobile {
        font-size: 0.75rem !important;
        line-height: 1.0 !important;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 320px) {
    .tp-caption {
        max-width: calc(100vw - 15px) !important;
        margin: 0 7.5px !important;
    }
    
    .hero-title-mobile {
        font-size: 1.2rem !important;
        line-height: 1.0 !important;
        padding: 0 5px !important;
    }
    
    .hero-subtitle-mobile {
        font-size: 0.7rem !important;
        line-height: 0.9 !important;
        padding: 0 5px !important;
    }
}

/* Sidebar Language Switcher Styling */
#language-toggle-sidebar {
  color: white !important;
  font-size: 16px !important;
  padding: 12px 0 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  background: none !important;
  justify-content: end;
}

#language-toggle-sidebar:hover {
  color: #00bcd4 !important;
  transform: translateX(5px);
}

#language-toggle-sidebar i {
  font-size: 18px;
  opacity: 0.8;
}

#language-toggle-sidebar .sidebar-lang-text {
  font-weight: 500;
}

/* RTL support for sidebar language switcher */
[dir="rtl"] #language-toggle-sidebar:hover {
  transform: translateX(-5px);
}

[dir="rtl"] #language-toggle-sidebar {
  flex-direction: row-reverse;
}

[dir="rtl"] #language-toggle-sidebar i {
  margin-right: 0;
  margin-left: 8px;
}

/* Language Loading Screen */
.language-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-loading.show {
    opacity: 1;
    visibility: visible;
}

.language-loading-content {
    text-align: center;
    color: white;
}

.language-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #00bcd4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.language-loading-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

/* Language Loading for RTL */
[dir="rtl"] .language-spinner {
    animation: spin-rtl 1s linear infinite;
}

@keyframes spin-rtl {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}


@media screen and (max-width: 1200px) {
    .process-wrapp {
        margin: 0 !important;
    }
    .side-nav .navbar-nav .nav-link {
        font-size: 2.25rem !important;

        &:hover {
            color: #00bcd4 !important;
        }
    }

    #aboutus  .item:nth-child(even) {
        flex-direction: column-reverse !important;

    }
}


.bg-counters {
    background: url(../images/values-1.jpeg) no-repeat center center;
    -webkit-background-size: cover;
    background-size: cover;
}


#bg-counters .overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;


}

#bg-counters .container{
    position: relative;
    z-index: 100;

    
}

#our-blog .heading-title {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.gradient-bg {
    background: rgba(0, 0, 0, 0.74) !important;
}

/* Featured Banner Styles */
#featured-banner {
    padding: 80px 0;
    background: #f8f9fa;
}

.banner-container {
    max-width: 100%;
}

.banner-content {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.banner-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

@media (max-width: 768px) {
    #featured-banner {
        padding: 60px 0;
    }
    
    .banner-content {
        margin: 0 15px;
    }
}

@media (max-width: 1200px) {
    .process-wrapp {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .process-wrapp li::after, .process-wrapp li::before {
        display: none !important;
    }
}



#aboutus .image {
    width: 100%;
}

#aboutus .image img{
    object-fit: cover;
}

.tel-link:hover {
    color: #00bcd4 !important;
}

ul.social-icons li a, ul.social-icons-simple li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Contact Information Banner Styles */
.contact-info-banner {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 25px;
}

.contact-info-banner .contact-item {
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    text-wrap: nowrap;
}

.contact-info-banner .contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-info-banner .contact-item i {
    color: #00bcd4;
    font-size: 14px !important;

}

.contact-info-banner .contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px !important;

}

.contact-info-banner .contact-item span {
    font-size: 14px !important;
}

.contact-info-banner .contact-item a:hover {
    color: #00bcd4 !important;
}

/* Flex-based Banner Layout */
.banner-flex-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.banner-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
    padding: 20px;
}

.banner-content-wrapper h1 {
    margin: 5px 0;
    line-height: 1.2;
}

.banner-content-wrapper h4 {
    margin: 15px 0 0 0;
    line-height: 1.4;
}

/* Responsive styles for flex banner */
@media (max-width: 768px) {
    .banner-content-wrapper {
        max-width: 95%;
        padding: 15px;
        gap: 15px !important; 
    }
    
    .banner-content-wrapper h1 {
        margin: 3px 0;
    }
    
    .banner-content-wrapper h4 {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 576px) {
    .banner-content-wrapper {
        max-width: 98%;
        padding: 10px;
    }
    
    .banner-content-wrapper h1 {
        margin: 2px 0;
    }
    
    .banner-content-wrapper h4 {
        margin: 8px 0 0 0;
    }
}

/* Responsive styles for contact info banner */
@media (max-width: 1200px) {
    .contact-info-banner .contact-item {
        margin: 0 15px !important;
        margin-bottom: 10px !important;
        padding: 10px 0 !important;
    }
    .contact-info-banner .contact-item::last-child {
        margin-bottom: 0px !important;
    }
    .contact-info-banner .contact-item::first-child {
        margin-top: 10px !important;
    }
    
}
@media (max-width: 768px) {
    .contact-info-banner {
        font-size: 18px;
        padding: 15px 20px;
        border-radius: 30px;
        margin-top: 15px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px !important;
    }
    
    .contact-info-banner .contact-item {
        display: block !important;
        margin: 10px 0;
        padding: 10px 15px !important;
        border-radius: 20px;
        text-align: center;
    }
    
    .contact-info-banner .contact-item i {
        font-size: 20px;
        margin-right: 8px;
    }
}

@media (max-width: 576px) {
    .contact-info-banner {
        font-size: 16px;
        padding: 12px 18px;
        border-radius: 25px;
        margin-top: 10px;
        max-width: 95%;
    }
    
    .contact-info-banner .contact-item {
        padding: 8px 12px;
        border-radius: 15px;
        margin: 8px 0;
    }
    
    .contact-info-banner .contact-item i {
        font-size: 18px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .contact-info-banner {
        font-size: 14px;
        padding: 10px 15px;
        border-radius: 20px;
        margin-top: 8px;
        max-width: 98%;
    }
    
    .contact-info-banner .contact-item {
        padding: 7px 10px;
        margin: 6px 0;
        border-radius: 12px;
    }
    
    .contact-info-banner .contact-item i {
        font-size: 16px;
        margin-right: 5px;
    }
    
    /* Additional spacing for mobile to prevent overlap */
    .tp-caption[data-voffset*="250"] {
        margin-top: 20px !important;
    }
    
    .tp-caption[data-voffset*="180"] {
        margin-top: 15px !important;
    }
}

@media (max-width: 375px) {
    .contact-info-banner {
        font-size: 0.9rem;
        padding: 8px 12px;
        border-radius: 18px;
        margin-top: 5px;
    }
    
    .contact-info-banner .contact-item {
        padding: 6px 8px;
        margin: 5px 0;
        border-radius: 10px;
    }
    
    .contact-info-banner .contact-item i {
        font-size: 0.95rem;
        margin-right: 4px;
    }
}

ul.links li a::before 
{
    margin-right: 0 !important;
    margin-inline-end: 5px !important;
}