/*------------------------------------------------------------------
[Custom Stylesheet]

Project:    Zorg
Version:    1.1.0
-------------------------------------------------------------------*/

/* ==========================================================================
 Styles for page
========================================================================== */
.page h2 {
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;  
}

.page h3 {
  font-size: 16px;
  margin-top: 18px;
  line-height: 19px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgb(36, 54, 156); 
}

.page p {
  line-height: 24px;
}
.product-filter .select2-selection__rendered {
  line-height: 31px !important;
}
.product-filter .select2-container .select2-selection--single {
  height: 35px !important;
}
.product-filter .select2-selection__arrow {
  height: 34px !important;
}

/* =========================================================================
  Search Bar - modification for Select2
===========================================================================*/
.search-bar .select2-selection {
  height: 40px !important;
  width: 80%;
  margin-top : 6px;
  margin-bottom : 6px;
  border : none;
}

.search-bar .select {
  text-transform: none;
  text-align: left;
}

/* ==========================================================================
Company Header Area
========================================================================== */
.company-header  {
    text-align: left;
  }
  
.company-header .company-title {
    font-size: 30px;
    line-height: 38px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
  }

.company-header .company-address {
    font-size: 12px;
    line-height: 19px;
    font-weight: 350;
    letter-spacing: 1px;
    color: #fff;
  }

.company-header .text .reviews-box {
    margin-right: 4px;
    padding: 4px 10px;
    color: #fff;
    border-radius: 3px;
}

.company-header .text .reviews-2 i {
    color: orange;
}

.company-list .company-img {
  float: left;
}

.company-list .company-img img {
  height: 50px;
  width: 50px;
}

.contact-map {
  height: 350px !important;
}

.contact-map-content .map-content {
  width: 250px;
}



.details-box .section-title {
    font-size: 125%;
    position: relative;
    margin-top: 25px;
    margin-bottom: 0;
}

.s-border {
    width: 30px;
    height: 15px;
    background: #4d4d4d;
    margin-bottom: 30px;
    border-radius: 5px;
}



.details-box .services-list {
    font-size: 125%;
    padding: 10px;
  }
  
  .details-box .services-list li {
    padding: 7px 0;
  }
  
  .details-box .services-list li a {
    text-decoration: none;
    color: #888;
    width: 100%;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
  }
  
  .details-box .services-list li a:hover {
    color: #00BCD4;
  }
  
  .details-box .services-list li a i {
    margin-right: 5px;
  }
  
  .details-box .services-list li .services-counter {
    font-size: 12px;
  }

  .details-box .ads-btn .btn-secondary {
    background: #ff4d4d;
  }

  .service-description {
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: inline-block;
  }
  .service-description p {
    margin-left: 25px;
    margin-right: 15px;
    margin-bottom: 15px;
  }
  .service-description li {
    margin-left: 40px;
  }

  /* Social buttons */
  .btn-github {
    color: #fff !important;
    border-color: #222;
    background-color: #222;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); }
  
  .btn-github:hover {
    color: #fff;
    border-color: #222;
    background-color: #222; }
  
  .btn-github:focus,
  .btn-github.focus {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(34, 34, 34, 0.5); }
  
  .btn-twitter {
    color: #fff !important;
    border-color: #1da1f2;
    background-color: #1da1f2;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); }
  
  .btn-twitter:hover {
    color: #fff;
    border-color: #1da1f2;
    background-color: #1da1f2; }
  
  .btn-twitter:focus,
  .btn-twitter.focus {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(29, 161, 242, 0.5); }
  
  .btn-facebook {
    color: #fff !important;
    border-color: #3b5999;
    background-color: #3b5999;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); }
  
  .btn-facebook:hover {
    color: #fff;
    border-color: #3b5999;
    background-color: #3b5999; }
  
  .btn-facebook:focus,
  .btn-facebook.focus {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(59, 89, 153, 0.5); }
  
  .btn-google {
    color: #fff !important;
    border-color: #dd4b39;
    background-color: #dd4b39;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); }
  
  .btn-google:hover {
    color: #fff;
    border-color: #dd4b39;
    background-color: #dd4b39; }
  
  .btn-google:focus,
  .btn-google.focus {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(221, 75, 57, 0.5); }
  
  .vectors {
    color: #ffffff !important; }
  
  .margin-0 {
    margin: 0 auto; 
  }

  .custom-note {
    color: #999; 
  }
  .custom-note a {
      color: #555;
      font-weight: 900 !important; 
  }

    .modal {
      border-radius: 7px;
      overflow: hidden;
      background-color: transparent; 
    }

      .modal .logo a img {
        width: 30px; 
      }

      .modal .modal-content {
        background-color: transparent;
        border: none;
        border-radius: 7px; 
      }

      .modal .modal-content .modal-body {
        border-radius: 7px;
        overflow: hidden;
        background-color: #fff;
        padding-left: 0px;
        padding-right: 0px;
        -webkit-box-shadow: 0 10px 50px -10px rgba(0, 0, 0, 0.9);
        box-shadow: 0 10px 50px -10px rgba(0, 0, 0, 0.9); 
      }

      .modal .modal-content .modal-body h2 {
        font-size: 18px; }

      .modal .modal-content .modal-body p {
        color: #777;
        font-size: 14px; }

      .modal .modal-content .modal-body h3 {
        color: #000;
        font-size: 22px; }

      .modal .modal-content .modal-body .close-btn {
        color: #000; }

      .modal .modal-content .modal-body .promo-img {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%; }

      .modal .cancel {
        color: gray;
        font-size: 14px; }

      .modal .btn-primary {
        padding-top: 10px;
        padding-bottom: 10px; }

/* ==========================================================================
 flags
========================================================================== */
.flag-icon {
  width: 24px;
  height: 18px;
  display: inline-block;
}

.flag-icon-in {
  background: url('/img/flags/4x3/in.svg') left top;  
}

.flag-icon-us {
  background: url('/img/flags/4x3/us.svg') left top;  
}

.flag-icon-ae {
  background: url('/img/flags/4x3/ae.svg') left top;
}

        /* Compact, isolated search bar styles (cx- prefix to avoid conflicts) */
        .cx-searchbar { max-width: 960px; margin: 0 auto; padding: 5px 0; }
        .cx-searchbar__form { width: 100%; }
        .cx-searchbar__group {
            display: flex; align-items: stretch; width: 100%;
            background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: border-color .2s ease, box-shadow .2s ease;
        }
        .cx-searchbar__group:focus-within {
            border-color: #FBC02D; /* matches yellow theme */
            box-shadow: 0 4px 16px rgba(251,192,45,0.18);
        }

  .cx-searchbar__select { width: 240px !important; min-width: 200px; border: 0; padding: 10px 12px; background: transparent; }
  .cx-searchbar__input { flex: 1 1 auto; border: 0; padding: 10px 14px; font-size: 16px; min-width: 120px; height: 46px !important; color: #fff !important; }
  .cx-searchbar__input::placeholder { color: rgba(255,255,255,0.85) !important; }
        .cx-searchbar__input:focus { outline: none; }

  .cx-searchbar__submit { border: 0; background: #FBC02D; color: #fff; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background .2s ease; height: 46px !important; }
        .cx-searchbar__submit:hover { background: #FDD835; }
        .cx-searchbar__submit i { line-height: 1; }

  /* Second row filters */
  .cx-searchbar__filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
  .cx-searchbar__filters .select2-container .select2-selection--single { height: 40px; }
  .cx-searchbar__filters .select2-container .select2-selection--single .select2-selection__rendered { line-height: 40px; }
  .cx-searchbar__filters .select2-container .select2-selection--single .select2-selection__arrow { height: 100%; }
  .cx-filter { min-width: 0; }

  /* Select2 alignment within the group */
    .cx-searchbar .select2-container { flex: 0 0 auto; }
      .cx-searchbar .select2-container--default .select2-selection--single,
      .cx-searchbar .select2-container--bootstrap4 .select2-selection--single {
      height: 46px !important; border: none; border-right: 1px solid #eee; border-radius: 0; display: flex !important; align-items: center; background: transparent; position: relative; padding: 0 36px 0 12px !important;
    }
      .cx-searchbar .select2-container--default .select2-selection--single .select2-selection__rendered,
      .cx-searchbar .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
        line-height: 46px !important; padding-left: 0 !important; padding-right: 2.5em !important; color: #fff !important; text-align: left !important;
    }
      /* Add space between selected text and the clear (X) icon */
      .cx-searchbar .select2-container--default .select2-selection--single .select2-selection__clear,
      .cx-searchbar .select2-container--bootstrap4 .select2-selection--single .select2-selection__clear {
        margin-left: 8px !important;
      }
      .cx-searchbar .select2-container--default .select2-selection--single .select2-selection__placeholder,
      .cx-searchbar .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder { color: rgba(255,255,255,0.85) !important; }
      .cx-searchbar .select2-container--default .select2-selection--single .select2-selection__arrow,
      .cx-searchbar .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
      position: absolute; top: 0; bottom: 0; right: 10px; margin: auto; width: 24px; height: 16px; display: flex !important; align-items: center; justify-content: center; pointer-events: none;
    }
      .cx-searchbar .select2-container--default .select2-selection--single .select2-selection__arrow b,
      .cx-searchbar .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
      width: 0; height: 0; border-style: solid; border-width: 6px 5px 0 5px; border-color: #9e9e9e transparent transparent transparent; display: block !important;
    }
    .cx-searchbar .select2-container--default .select2-selection--single .select2-selection__arrow:after,
    .cx-searchbar .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow:after {
      content: ""; width: 12px; height: 12px; display: block !important;
      background: no-repeat center/12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    }

  /* Service select: keep rendered and placeholder text gray */
  .cx-searchbar #service + .select2-container .select2-selection__rendered { color: #9e9e9e !important; }
  .cx-searchbar #service + .select2-container .select2-selection__placeholder { color: #9e9e9e !important; }

    /* Dropdown: dark background and white text for readability */
    .cx-searchbar .select2-container .select2-dropdown { background-color: #1f1f1f !important; border-color: #333 !important; }
    .cx-searchbar .select2-container--default .select2-results__option,
    .cx-searchbar .select2-container--bootstrap4 .select2-results__option { color: #fff !important; }
    .cx-searchbar .select2-container--default .select2-search__field,
    .cx-searchbar .select2-container--bootstrap4 .select2-search__field { color: #fff !important; background-color: #2a2a2a !important; border-color: #444 !important; }
    .cx-searchbar .select2-container--default .select2-results__option--highlighted[aria-selected],
    .cx-searchbar .select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] { background-color: #333 !important; color: #fff !important; }

      /* Select2 dropdown options: ensure text is gray (not white) */
      .cx-searchbar .select2-container--default .select2-results__option,
      .cx-searchbar .select2-container--bootstrap4 .select2-results__option {
        color: #666 !important;
      }
      /* Dropdown search input text color */
      .cx-searchbar .select2-container--default .select2-search__field,
      .cx-searchbar .select2-container--bootstrap4 .select2-search__field {
        color: #333 !important;
      }

        /* Accessibility helper */
        .cx-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

        /* Responsive */
        @media (max-width: 767.98px) {
            .cx-searchbar { padding: 10px 0; }
            .cx-searchbar__group { flex-wrap: wrap; border-radius: 8px; }
            .cx-searchbar .select2-container { width: 100% !important; flex: 1 1 100%; }
            .cx-searchbar .select2-container--default .select2-selection--single { border-right: none; border-bottom: 1px solid #eee; width: 100%; }
            .cx-searchbar__input { flex: 1 1 100%; width: 100%; }
            .cx-searchbar__submit { width: 100%; padding: 10px; font-size: 16px; }
        }

