.banner-location li{
    padding-right:20px;
    font-weight:600;
    font-size: 17px;
}
.about img {
  height: 550px;
  transform: translate(20%, -0%) rotate(202deg);
}
.timeline, .p-relative{
  position: relative;
}

.timeline-item {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  align-items: center;
  transition-delay: 250ms;
}

.br::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: #fff;
  transform: translateX(-50%);
}
.timeline-item h2 {
  font-size: 1.6rem;
  margin-bottom: 0px;
  color: white;
  font-weight: bold;
  z-index: 2;
  transition: color 0.5s ease;
  position: relative;
}

.timeline-item p {
  font-size: 1.1rem;
  margin-bottom: 0px;
  color: white;
  z-index: 2;
  transition: color 0.5s ease;
  position: relative;
}

.timeline-item span {
  font-size: 1.1rem;
  font-weight: 400;
  display: block;
  color: white;
  z-index: 2;
  transition: color 0.5s ease;
  position: relative;
}
.timeline-item {
  background: linear-gradient(135deg, #002f87, #66a6ff);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
  cursor: pointer;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.5s ease-in-out;
  z-index: 1;
}

.timeline-item:hover::before {
  transform: scaleY(1); /* Reveal the background from top to bottom */
}


.timeline-item:hover p {
  color: #002f87; /* Change the text color when hovered */
}

.timeline-item:hover h2, .timeline-item:hover span, .timeline-item:hover p{
  color: #333;
}
.timeline-item:hover .br::before {
  background-color: #002f87;
}

.blue{
  color:#002f87!important;
}

.comparison-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #007bff;
}

.comparison-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.comparison-header {
  display: table-row;
  transition: background 0.3s ease;
}

.comparison-wrapper {
  display: table;
  width: 100%;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
}

.comparison-row {
  display: table-row;
  transition: background 0.3s ease;
}

.comparison-feature, .comparison-ace, .comparison-other {
  display: table-cell;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
  font-size: 1.1rem;
}

.comparison-header .comparison-feature, 
.comparison-header .comparison-ace, 
.comparison-header .comparison-other {
  background: linear-gradient(135deg, #273c66, #66a6ff);
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
}

.comparison-row:nth-child(odd) {
  background-color: #f9f9f9;
}

.comparison-row:hover {
  background-color: #f0f8ff;
  transform: scale(1.02);
}

.comparison-ace, .comparison-other {
  text-align: center;
}

.comparison-row:last-child .comparison-feature, 
.comparison-row:last-child .comparison-ace, 
.comparison-row:last-child .comparison-other {
  border-bottom: 0;
}
.full-width-header.header-style3.modify .rs-header .menu-area.sticky .light-logo{
  width:150px;
  height:70px;
  background:#fff;
}
.light-logo{
  width:200px;
  height:auto;
}
.p-0{
  padding-left:0;
  padding-right:0;
}
.address-widget li {
    display: flex;
    padding: 10px 0;
    color: #000 !important;
    font-weight: 600;
}
.address-widget li a{
    color: #000 !important;
}
.address-widget li i{
    padding-right: 10px;
    font-weight: 600;
    color: #000 !important;
}
.rank{
    background: #ffd331;
}
/* .rs-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/ace/assets/img/dna.png) no-repeat center;
    background-size: contain; 
    transform: translate(-50%, -50%) rotate(45deg); 
    transform-origin: center; 
    z-index: -1; 
}*/
.image-part{
    position:relative;
}
.blog-item .media-icon {
    position: unset;
    display: inline-block;
    z-index: 1;
}
.rs-carousel.nav-style2 .owl-nav.disabled{
    display:none;
}
.rs-cta h2, .rs-cta h4{
    color:#fff;
}
.form-control,.form-select:focus {
    border-color: #bcbcbe!important;
    box-shadow: none !important;
}
.form-select {
    color: #212529 !important;
    font-size: 15px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ced4da !important;
}
.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url(/ace/assets/img/close.svg) center / 1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}
.bg-shape-5 {
    position: absolute;
    top: 0;
    right: 0;
    width: 34.375%;
    height: 100%;
    background: linear-gradient(#e66465, #9198e5);
    opacity: .15;
}
.composition-6-decoration-2 {
    position: absolute;
    bottom: -3.5%;
    left: 25.3968%;
    width: 23.9682%;
}
.composition-6-decoration-1 {
    position: absolute;
    top: 0.5%;
    right: 8.887%;
    width: 23.9682%;
}

.card {
  position: relative;
  transform-style: preserve-3d;
}
.w-200{
    width:200px;
}
.overflow-y-hidden{
    overflow-y: hidden;
}
.static-buttons {
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 3;
    height: 10rem;
    transform: translateX(100%);
}
.static-buttons a {
    min-width: 180px;
    color: #fff;
    border-radius: 0.75em 0.75em 0 0;
    box-shadow: 0 0 0.75em rgb(0 0 0 / 10%);
    font-weight: 400;
    background: #002f87;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-100%, -100%) rotate(-90deg);
    transform-origin: right bottom;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.50em;
    text-align: center;
}
.main-logo img{
    padding:25px!important;
}
.sticky .main-logo img{
    padding:5px!important;
}
.w-150{
    width:150px;
}
.w-180{
    width:180px;
}


/*work flow*/
:root {
    --background-dark: #2d3548;
    --text-light: rgba(255, 255, 255, 0.6);
    --text-lighter: rgba(255, 255, 255, 0.9);
    --accent-color: #F67B50;
    --spacing-s: 13px;
    --spacing-m: 16px;
    --spacing-l: 25px;
    --spacing-xl: 30px;
    --spacing-xxl: 45px;
    --width-container: 1200px;
  }

  .timeline-flow {
    position: relative;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0;
  }

  .timeline-flow::after {
    content: '';
    position: absolute;
    width: 8px;
    background: linear-gradient(190deg, #f4bf00 0%, #031a3d 100%) !important;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    height: 0;
    transition: height 1.5s ease-out, opacity 1.5s ease-out;
  }

  .timeline-container {
    position: relative;
    width: 50%;
    padding: var(--spacing-l) var(--spacing-xl);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .timeline-container.left {
    left: 0;
  }

  .timeline-container.right {
    left: 50%;
  }
  /*.timeline-container .timeline-icon{
    position: absolute;
    padding: 10px;
    top: 30px;
    width: 60px;
    height: 60px;
    background:#002f87;
    border-radius: 10%;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: 99999;
  }*/
  .content {
    padding: var(--spacing-xl);
    background-color: var(--text-lighter);
    position: relative;
    border-radius: var(--spacing-l);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: center;
  }
  .content:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
  }
  .client .media-icon .popup-videos i:before {
    font-size: 20px;
    line-height: 40px;
  }
  .client .media-icon .popup-videos{
    width:40px;
    height:40px;
    background:#fff;
    color:#002f87;
  }
  .location-list fa{
      color:#002f87;
  }
   
  
  @media screen and (min-width: 600px) {
        .rs-blog.style2 .blog-item .blog-content {
            height: 180px;
        }
        .location-list li{
              padding-right:10px;
              font-weight:600;
              font-size:16px;
              display: inline-block;
              width:31%;
          } 
    }
  
      
  @media screen and (max-width: 600px) {
    .location-list li{
      padding-right:10px;
      font-weight:600;
      font-size:16px;
      display: inline-block;
      width:47%;
    } 
    .timeline-flow::after {
      left: 0;
    }
    .timeline-flow.show-line::after {
        display:none;
    }
    .timeline-container {
      width: 100%;
      padding-left: 40px;
      padding-right: 40px;
    }

    .timeline-container.left::before, .timeline-container.right::before {
      left: 31px;
    }

    .timeline-container.right {
      left: 0%;
    }

    .timeline-container.left, .timeline-container.right {
      left: 0;
    }
    .address-widget li{
        width:100%;
        flex-wrap: wrap;
    }
    .address-widget .flaticon-phone, .address-widget .flaticon-email{
        width:10%;
    }
    .address-widget .desc{
        width:90%;
    }
  }

  .show {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-flow.show-line::after {
    height: 100%;
    opacity: 1;
  }

  .timeline-flow.hide-line::after {
    height: 0;
    opacity: 0;
  }
  .responsive-logo img{
      height:70px;
  }
/* work flow*/

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 400px;
    }
    .card {
        height: 60vh;
    }
    .cta-content iframe {
        width:50%;
        height:400px;
    }
}
@media (max-width: 992px) {
    .cta-content iframe {
        width:80%;
        height:auto;
    }
    .full-width-header.header-style3.modify .rs-header .menu-area {
        height: 80px;
    }
    .modal-lg, .modal-xl {
        max-width: 400px;
    }
    .rtl{
        flex-direction: column-reverse;
    }
    .pb-80 {
    padding-bottom: 50px;
    }
    .pt-80 {
        padding-top: 50px;
    }
    .mt-30{
        margin-top:0;
    }
    .mb-40 {
        margin-bottom: 30px;
    }
      h1 {
      font-size: 2rem!important;
      }
      .rs-banner.style1, .why-choose-us.style3 {
          padding: 50px 0;
      }
      .timeline-item {
          padding: 15px;
      }
    
      .timeline-item h2 {
          font-size: 1.5rem;
      }
    
      .timeline-item p, .timeline-item span {
          font-size: 0.9rem;
      }
      .sec-title2 .title {
            font-size: 25px!important;
      }
      .rs-menu-toggle i{
            padding-right: 10px;
      }
      .mmt-30{
          margin-top:30px;
      }
      .timeline-item {
          margin: 10px;
      }
      .mm-center{
          text-align:center;
      }
      .timeline-container {
          margin-bottom: 0;
      }
      .timeline-flow {
        padding: 0;
      }
      .timeline-container .timeline-icon {
        left: 55%;
     }
     .timeline-container:last-child {
        padding-bottom: 0;
     }
     .rs-about .histort-part .single-history a{
         width:100%;
     }
}
@media (max-width: 768px) {
  .comparison-feature, .comparison-ace, .comparison-other {
      padding: 15px;
      font-size: 0.9rem;
  }

  .comparison-title {
      font-size: 2rem;
  }
}

