@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../fonts/tajawal-v3-latin_arabic-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/tajawal-v3-latin_arabic-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
    scroll-behavior: smooth;
}

/* Scroll offset for About Us section */
#about_us {
    scroll-margin-top: 100px;
}
#call_btn{
    position: fixed;
    text-decoration: none;
    width: 100%;
    left: 0;
    bottom: 55px;
    height: 55px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 120%;
    /*overflow: hidden;*/
    background: #34a700;
    display: flex;
    justify-content: center;
    align-items: center;
}

#email_btn{
    position: fixed;
    text-decoration: none;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 55px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 120%;
    background: #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
}

.noselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none !important;
}

.company-title {
    position: relative;
    text-align: center;
}
.company-title .title:hover{
    cursor: default;
}
@media screen and (max-width:768px){
    .company-title .title {
        position: absolute;
        bottom: 30px;
        font-size:20px;
        right: 16px;
        font-weight: bold !important;
     }
    .company-title img{
        height: 200px;
    }
    select{
        width: 120px !important;
    }
    /*input{*/
    /*    width: 120px !important;*/
    /*}*/
}
@media screen and (min-width:768px){
    .company-title .title {
        position: absolute;
        bottom: 40px;
        right: 16px;
        font-weight: bold !important;
  }
    .company-title img{
        height: 580px;
    }
    select{
        width: 120px !important;
    }
    #search_btn{
        width: 120px !important;
    }
    #q{
        width: 150px !important;
    }
}
.pagination .page-item.active .page-link{
    /*border-radius: 50%;*/
    background-color: #25559B;
    border-color: #25559B;

}
.pagination .page-item{
    margin: 0 5px;
}
.company-title img{
    filter: brightness(70%);

}
/*.pagea-wrapper .nav-item .nav-link{*/
/*    !*background-color: #0a5ef1;*!*/
/*    background-color: #3a5b7c;*/
/*    color: white;*/
/*    border-radius: 20px;*/
/*    transition : all 0.3s ease-out;*/
/*}*/
.pagea-wrapper .nav-item .active{
    background-color: #181616;
    color: white;
    border-radius: 20px;
    transition : all 0.3s ease-out;
}
.card-header{
    /*background-color: white !important;*/
    background-color: transparent;
}
.container-fluid +.services_container{
    box-shadow: 0 10px 30px 0 rgba(138, 155, 165, 0.15);
}
.services_container .flex-row .card{
    background: #fff;
    border-radius: 30px;

    /*box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 50%;*/
}
.services_container .flex-row .card img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}
/*.services_container .flex-row .card .card-title{*/
/*    !*color: #17a2b8;*!*/
/*    color: #3a5b7c;*/

/*}*/

body{
    direction: ltr;
    /*background-color: #eee;*/
    background: url("../logos/bg.png");
    font-family: 'Tajawal', sans-serif;
}

.services_container{
    /*background: #fff !important;*/
    /*background-color: #f4f4f4 !important;*/
}

/* NEW STYLES */

.services_container .card, .cities .card, .company-image-thumbnail {
    border-radius: 4px;
    background: #fff;
    /*box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);*/
    transition: .7s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.7s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
  /*padding: 14px 80px 18px 36px;*/
  cursor: pointer;
}
.services_container .card, .company, .company-page, .company-image-thumbnail{
        box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
}
.services_container .card:hover{
      box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

}
.services_container .card:hover, .cities .card:hover{
     transform: scale(1.05);

}

.no-flickr {
    -webkit-backface-visibility: hidden;
  -webkit-transform: perspective(1000px);
}
.company-page{
    /*background-color: #fff;*/
    background-color: #f4f4f4;
}
.company-details img{
    max-width: 100%;
    padding: 1rem 0;
}
.page-wrapper .nav-link,.tags-section .nav-link{
    background-color: #0a5ef1;
    /*background-color: #639cff;*/
    color: white;
    border-radius: 20px;
    transition : all 0.3s ease-out;
}
.page-wrapper .nav-link:hover,.tags-section .nav-link:hover{
    background-color: white;
    color: black;
    border-radius: 20px;
    transition : all 0.3s ease-out;
}
footer .fab, footer .fas{
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}
footer a:hover{
    text-decoration: none;
}

footer details[open] summary ~ * {
  animation: effect .5s ease-in-out;
}

footer {
    background-color: #021a3b;
}
@keyframes effect {
  0%    {opacity: 0; transform: translateX(-10px)}
  100%  {opacity: 1; transform: translateX(0)}
}

h1{
    color: #25559B;
}
.pointer{
    cursor: pointer !important;
}

.cities-icon{
    color: black;

}
/*.cities-icon:hover{*/
/*    color: #25559B;*/
/*    transition : all 0.3s ease-out;*/
/*}*/

/* Modern Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 85, 155, 0.85), rgba(52, 152, 219, 0.85));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.card-arrow {
    color: white;
    font-size: 24px;
    transform: translateX(-20px);
    transition: transform 0.4s ease;
}

.service-card:hover .card-arrow {
    transform: translateX(0);
}

.service-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.service-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.services_container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Modern Location Cards */
.locations-section {
    position: relative;
}

.country-title {
    font-size: 2rem;
    font-weight: 700;
}

.location-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #25559B;
}

.location-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #25559B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.location-card:hover .location-icon-wrapper {
    transform: scale(1.1);
}

.location-icon {
    color: white;
    font-size: 1.5rem;
}

.location-name {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

/* Simple About Us Section */
.about-section {
    background: #ffffff;
}

.simple-feature-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.simple-feature-item:hover {
    transform: translateY(-5px);
}

.simple-feature-icon {
    width: 60px;
    height: 60px;
    background: #25559B;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.simple-feature-item:hover .simple-feature-icon {
    transform: scale(1.1);
    background: #3498db;
}

.simple-feature-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.simple-feature-desc {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Modern Hero Section */
.hero-section {
    background: linear-gradient(135deg, #25559B 0%, #3498db 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Modern Navigation Tabs */
.modern-tabs-wrapper {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.modern-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.modern-tab-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-tab-link:hover,
.modern-tab-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Modern Search Section */
.search-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.search-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.modern-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-input-group {
    position: relative;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.modern-search-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.modern-search-input:focus {
    border-color: #25559B;
    box-shadow: 0 0 0 3px rgba(37, 85, 155, 0.1);
    outline: none;
    background: white;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-group select {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 150px;
    color: #495057;
    height: 45px;
    line-height: 1.4;
}

.filter-group select:focus {
    border-color: #25559B;
    box-shadow: 0 0 0 3px rgba(37, 85, 155, 0.1);
    outline: none;
}

.filter-group select option {
    color: #495057;
    background: white;
    padding: 8px;
}

.modern-search-btn {
    background: linear-gradient(135deg, #25559B, #3498db);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 85, 155, 0.3);
}

/* Content Section */
.content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 60vh;
}

/* Modern Company Cards */
.modern-company-card {
    transition: all 0.3s ease;
}

.company-card-wrapper {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.modern-company-card:hover .company-card-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.company-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.company-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-company-card:hover .company-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 85, 155, 0.8), rgba(52, 152, 219, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-company-card:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modern-company-card:hover .overlay-icon {
    transform: scale(1);
}

.company-content {
    padding: 1.5rem;
}

.company-header {
    margin-bottom: 1rem;
}

.company-title {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    transition: color 0.3s ease;
}

.company-title:hover {
    color: #25559B;
}

.company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.meta-item i {
    color: #25559B;
}

.company-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-description a {
    color: inherit;
}

.company-description a:hover {
    color: #25559B;
}

.company-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.phone-link {
    color: #25559B;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #3498db;
    transform: translateX(5px);
}

.publish-date {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Modern Sidebar */
.modern-sidebar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sidebar-header {
    background: linear-gradient(135deg, #25559B, #3498db);
    color: white;
    padding: 1.5rem;
}

.sidebar-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.sidebar-content {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .modern-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .modern-search-form {
        gap: 1rem;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .company-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Contact Us Page */
.contact-page-section {
    background: #ffffff;
}

.contact-page-list {
    max-width: 600px;
    margin: 0 auto;
}

.contact-page-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-page-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-page-icon {
    width: 50px;
    height: 50px;
    background: #25559B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-page-item:hover .contact-page-icon {
    background: #3498db;
    transform: scale(1.1);
}

.contact-page-info {
    flex-grow: 1;
}

.contact-page-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-page-link {
    color: #25559B !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
}

.contact-page-link:hover {
    color: #3498db !important;
    text-decoration: underline;
}

.city:hover i, .city:hover h5{
    color: #25559B;
    transition : all 0.3s ease-out;
}
.title p {
    cursor: default;
}

/* Modern Tags Section */
.modern-tags-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.tags-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f3f4;
}

.tags-icon {
    color: #25559B;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.tags-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.modern-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #25559B, #3498db);
    transition: left 0.3s ease;
    z-index: -1;
}

.modern-tag:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 85, 155, 0.3);
    border-color: #25559B;
}

.modern-tag:hover::before {
    left: 0;
}

.modern-tag:active {
    transform: translateY(0);
}

/* Responsive adjustments for tags */
@media (max-width: 576px) {
    .tags-container {
        gap: 0.5rem;
    }
    
    .modern-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .modern-tags-section {
        padding: 1rem;
    }
}

/* Modern Breadcrumb Styling */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.breadcrumb-item a {
    color: #25559B;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a:hover {
    color: #3498db !important;
    background: transparent;
    transform: translateY(-1px);
    text-decoration: none;
}

.breadcrumb-item a i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* Fix for non-linked breadcrumb items */
.breadcrumb-item {
    color: #25559B !important;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #25559B !important;
}

.breadcrumb-item.active {
    color: #6c757d !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #25559B;
    font-weight: 600;
    font-size: 1.1rem;
    pointer-events: none !important;
    margin: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* Ensure breadcrumb links are always clickable */
.breadcrumb-item a {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .breadcrumb-item a {
        padding: 2px 6px;
    }
}