.page-link {
  margin-right: 6px;
  color: #000;
  font-family: var(--bs-body-font-family);
  font-size: 16px;
  font-weight: 600;
  background-color: #fff;
  border-radius: 4px;
}

.active>.page-link {
  background-color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
}

.page-link:hover {
  color: var(--bs-primary);
  background-color: #F3EFF0;
}

.inner-banner-section {
  text-align: center;
}

.inner-banner-section .item,
.inner-banner-section .banner-content {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-banner-section .banner-content .container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-banner-section .banner-text-wrapper {
  text-align: center;
  width: 100%;
}

.inner-banner-section .banner-content h1 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 50px;
  line-height: 80px;
  text-transform: uppercase;
  margin: 0 0 0 0; /*0 0 20px 0*/
}

.inner-banner-section .banner-content p {
  color: #ffffff !important;
  margin: 0;
  font-size: 20px;
}

.inner-banner-section .banner-content p a {
  color: #ffffff !important;
  font-weight: 600;
}

.inner-banner-section .banner-content p a:hover {
  color: var(--bs-primary);
}

.inner-banner-section .banner-content p span {
  color: #ffffff !important;
  padding: 0 8px;
}

.inner-banner-section p {
  font-weight: normal;
}

.inner-banner-section p span {
  padding: 0px 8px;
}

.inner-banner-section p a {
  color: var(--bs-light);
  font-weight: 600;
}

.inner-banner-section p a:hover {
  color: var(--bs-primary);
}

.blogs .blog-detail h5 {
  font-family: var(--bs-body-font-family2);
  font-size: 16px;
  font-weight: 400;
  color: #666;
  margin-top: 30px;
  margin-bottom: 30px;
}

.blogs .blog-detail h5 img {
  width: 18px;
}

.blogs .blog-detail h3 {
  font-size: 25px;
  line-height: 35px;
  margin-bottom: 10px;
}

.blogs .blog-detail h4 {
  color: var(--bs-primary);
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-post {
  background-color: #F3EFF0;
  padding: 30px;
}

.blog-post h4 {
  font-size: 25px;
  margin-bottom: 30px;
}

.recent-image img {
  padding-top: 10px;
  padding-bottom: 20px;
}

.recent-content {
  padding-top: 15px;
}

.recent-content h5 {
  font-size: 18px;
  margin-bottom: 5px;
}

.recent-content p {
  font-size: 18px;
}

.bod {
  border-bottom: 1px solid #ccc;
}

.mg-align {
  margin: 10px 0px;
}

.category p span {
  font-weight: 700;
}



.pt-0 {
  padding-top: 0px;
}

.blog-detail ul {
  margin-top: 15px;
  margin-left: -30px;
}

.blog-detail ul li {
  color: #666;
  font-size: 1rem;
  line-height: 35px;
  list-style: none;
}

.blog-detail ul li img {
  width: 12px;
}

/* Case Study Detail Page Styling */
.case-study-featured-image {
  margin-bottom: 0;
  padding-right: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.case-study-featured-image img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-study-content-wrapper {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Pill-shaped Project Overview badge */
.case-study-badge {
  width: fit-content;
  background-color: #f3f4f6;
  color: #6b7280;
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  font-family: var(--bs-body-font-family);
}

/* Case Study Title */
.case-study-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  font-family: var(--bs-body-font-family);
}

/* Overview text */
.case-study-overview {
  font-size: 1.0625rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Client Logo - White rounded box */
.case-study-client-logo {
  min-height: 140px;
  width: 100%;
}

.case-study-client-logo img {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  max-height: 120px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Project Details with separators */
.case-study-details {
  margin-top: 2rem;
}

.case-study-details .detail-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.case-study-details .detail-item:first-child {
  padding-top: 0;
}

.case-study-details .detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-study-details .detail-label {
  font-weight: 600;
  color: #374151;
  margin-right: 0.75rem;
  min-width: 150px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.case-study-details .detail-value {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .case-study-featured-image {
    margin-bottom: 2rem;
    padding-right: 0;
  }
  
  .case-study-content-wrapper {
    padding: 0;
  }
  
  .case-study-title {
    font-size: 1.875rem;
  }
  
  .case-study-badge {
    margin-bottom: 1.5rem;
  }
  
  .case-study-overview {
    margin-bottom: 2rem;
  }
  
  .case-study-client-logo {
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    min-height: 120px;
  }
  
  .case-study-details {
    margin-top: 2rem;
  }
  
  .case-study-details .detail-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }
  
  .case-study-details .detail-label {
    min-width: auto;
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .case-study-title {
    font-size: 1.5rem;
  }
  
  .case-study-badge {
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem;
  }
}

.case-study-block {
  background-color: var(--bs-primary);
  padding-top: 60px !important;
  padding-bottom: 50px !important;
}

.case-block h4 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 20px;
}

.case-block p {
  color: #fff;
}

.right-btn {
  float: right;
  margin-top: 30px;
}

.services h5 {
  background-color: #F3EFF0;
  font-size: 16px;
  font-weight: bold;
  padding: 15px;
}

.services h5:hover {
  background-color: var(--bs-primary);
  color: #fff !important;
}

.services h5 a:hover {
  color: #fff;
}

.services h5.active {
  background-color: var(--bs-primary);
  color: #fff !important;
}

.services h5.active a {
  color: #fff;
}

.contact-block {
  background-color: #F3EFF0;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}

.contact-block .nav-icons .nav-link {
  color: var(--bs-light);
  background-color: var(--bs-red);
  border-radius: 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.icon-align {
  display: inline-block;
  margin-bottom: 20px;
}

.contact-block p {
  margin-bottom: 0px;
}

.contact-bg-grey {
  background-color: #F3EFF0 !important;
}

.contact-bg-grey h2 {
  font-siize: 25px;
  color: #000;
}

.contact-bg-grey .form-control {
  background-color: #fff;
}

.about-block {
  background-color: #F3EFF0 !important;
  border-radius: 10px;
  padding: 20px;
}

.about-block h4 {
  font-size: 50px;
  font-weight: 100;
}

.about-block h5 {
  font-size: 18px;
  font-weight: 200;
}


.text-grey {
  background-color: #5B5555;
  padding: 20px;
  border-radius: 10px;
}

.text-grey p {
  color: #fff;
  margin-bottom: 0px;
  font-style: italic;
}


.set {
  border: 1px solid #666;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
    height: -webkit-fill-available;
}

.about-image {
  padding-top: 45px;
}

.about-content h5 {
  color: var(--bs-primary);
  font-size: 18px;
  line-height: 26px;
  text-align: left;
}

.about-content p {
  text-align: left;
  margin-bottom: 0px;
}

.differentiators.leadership .item {
  padding-top: 0px;
  padding: 0px;
}

.differentiators.leadership .item img {
  width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
}

.leader {
  background-color: #F3EFF0 !important;
  padding: 20px;
}

.leader h4 {
  font-size: 18px;
}

.leader h5 {
  font-size: 14px;
  font-style: italic;
  font-weight: normal;
}

@media (min-width:320px) and (max-width:991px) {

  .right-btn {
    float: left;
    margin-top: 20px;
  }

}


@media (min-width:320px) and (max-width:767px) {

  .banner-section .item h1 {
    font-size:25px;
  }

  .banner-section .item p {
    font-size:16px;
  }

  .about-block {
    margin-bottom:20px;
  }

  .about-block h5 {
    font-size:16px;
  }
  .section-title h2 {
    font-size:22px;
    line-height:30px;
  }

  .differentiators .item h4 {
    font-size:18px;
  }

  .differentiators .item img {
    margin-top:10px;
    width:50px;
  }

  .owl-carousel .owl-stage-outer {
    padding-bottom:0px;
  }

  .owl-nav {
    margin-bottom:20px;
  }

  .about-image {
    float:left;
    padding:0px 0px 10px 0px;
  }

  .set .about-image img {
    width:50px;
  }

  .blogs .blog-detail h3 {
    font-size:18px;
    line-height: 26px;
  }

  .blogs .blog-detail h4 {
    font-size:16px;
  }

  .case-block h4 {
    font-size:20px;
  }

  .contact-block {
    margin-bottom:15px;
  }



}


@media (min-width:768px) and (max-width:991px) {

  .owl-nav {
    margin-bottom:20px;
  }

  .about-content h5 {
    font-size:18px;
  }

  .differentiators .item h4 {
    font-size:18px;
  }

  .differentiators .item img {
    width:60px;
    margin-top:0px;
  }

  .blogs .blog-detail h3 {
    font-size:20px;
  }

  .blogs .blog-detail h4 {
    font-size:18px;
  }

  .recent-content h5 {
    font-size:14px;
  }

  .recent-content p {
    font-size:14px;
  }

  .contact-block {
    margin-bottom:20px;
  }



}

.blogs .card-text {
    max-height: 90px;
    overflow: hidden;
}


@media (min-width:992px) and (max-width:1199px) {


 

  .about-block h5 {
    font-size:16px;
  }

.differentiators .item h4 {
    font-size:18px;
  }



    .differentiators .item img {
    margin-top:0px;
  }

    .contact-block {
    margin-bottom:20px;
  }

}


@media (min-width:1200px) and (max-width:1399px) {


  .differentiators .item h4 {
    font-size:20px;
  }



}


@media (min-width:320px) and (max-width:1399px) {

    .blogs .card-body h5 {
    width:100%;
    display: inline-block;
    margin-top:0px;
  }

  .blogs .card-body h5 span {
    width:100%;
    display: inline-block;
    margin-top:10px;
    margin-bottom:5px;
  }

}

@media (max-width: 992px) {
    .header-section .navbar-collapse .navbar-nav .nav-item:hover .nav-link > .arrow-down, .header-section .navbar-collapse .navbar-nav .nav-item .nav-link.active > .arrow-down {
        transform: none !important;
    }
    .header-section .navbar-collapse .navbar-nav .nav-item.show>.nav-link, .header-section .navbar-collapse .navbar-nav .nav-item.show>.dropdown-item {
      color: var(--bs-primary);
    }
    .header-section .navbar-collapse .navbar-nav .nav-item.show .nav-link > .arrow-down, .header-section .navbar-collapse .navbar-nav .nav-item .nav-link.active > .arrow-down {
        transform: rotate(-90deg) !important;
        
    }
    .nav-item.show .arrow-down path {
      fill: var(--bs-primary);
    }
}
.header-section .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    margin-bottom: 0px;
}

@media (max-width: 660px) {
  .header-section .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    font-size: 15px;
    line-height: 16px;
  }
}

/* Blog Date Styling */
.blog-date {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  color: #6b7280;
  font-family: var(--bs-body-font-family2);
}

.blog-date img {
  width: 16px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.differentiators .item p {
    max-height: 85px;
    min-height: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    line-height: 1.3rem;
}



.heropanel--video>div:not(.video_btn),.heropanel--video video,.heropanel--video video source{
    cursor: none;
    pointer-events: none;
}
.heropanel--video .btn {
  border-radius: 0;
  z-index: 9;
}
.heropanel--video source {
    display: none;
}
.video_btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 999;
}

.video_btn marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0.5rem;
}
.video_btn .nav {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 1px 2px 4px #000;
  /*font-style:italic;*/
}
.heropanel--video .video_btn .btn {
  position: relative;
  width: auto;
  height: 60px;
  border-left: 0;
  font-size: 14px;
  background: #000000b1;
}
.heropanel--video .video_btn .btn:hover {
  background: #000000;
}
.heropanel--video .video_btn a.btn {
    width: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.heropanel--video .video_btn .btn img{
    display: block;
    width: 25px;
}
.heropanel--video .btn .pause {
    display: none;
    opacity: 0;
}
.heropanel--video .btn.stop_paly .pause {
    opacity: 1;
}

@media (min-width: 1200px) and (max-width: 1400px) {
    
    .contact-block {
        min-height: 225px;
    }
}

@media (min-width: 1200px) {
    
  .case-studies .item .card-body p.card-text {
      
    max-height: 100px;
    overflow: hidden;
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .services .card-body h4 {
        font-size: 1.25rem;
    }
}

@media (min-width: 720px) {
  .leadership .leader {
    min-height: 250px;
  }
  .blogs .card-body h5 {
        min-height: 66px;
  }
}
@media (min-width: 992px) {
  .header-section .navbar-nav .nav-item .dropdown-menu {
    line-height: 1.3rem;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }
}
@media (max-width:660px) {
    .heropanel--video .video_btn a.btn.morex {
        display:none;
    }
    .heropanel--video .video_btn .btn {  
        height: 50px;  
        padding: 0 18px;
    }
}

.video_pay_more {
    position: absolute;
    bottom: 10%;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 38px;
    text-align: center;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--bs-red);
    font-size: 35px;
    animation: bounce 1.5s infinite;
    opacity: 1;
    z-index: 999999;
}
.video_pay_more span {
    transform: rotate(90deg);
    position: absolute;
    left: -1px;
    color: #fff;
}
.video_pay_more:hover {
    border: 2px solid  #fff;
    opacity: 1;
    color: var(--bs-red);
}

@keyframes bounce {
  /* At the start and end, the element is at the top. Use ease-in to accelerate downwards. */
  0%, 100% {
    bottom: 8%;
    animation-timing-function: ease-in;
  }
  /* Halfway through, the element has dropped down (adjust '100px' for a higher/lower bounce). Use ease-out to decelerate as it rises. */
  50% {
    bottom: 10%;
    animation-timing-function: ease-out;
  }
}

.video_pay_btn {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    left: 0;
    top: 0;
    padding: 0;
    z-index: 999;
}

.video_pay_btn img {
    display: none;
    width: 80px;
    opacity: 0;
    transition: opacity .5s ease-out;
}

.video_pay_btn:active img {
    opacity: 1;
}

.video_pay_btn:not(.stop_paly) .play,.video_pay_btn.stop_paly .pause {
    display:  inline-flex;
}

.footer-section .nav:not(.contact) li {
    line-height: 25px;
    font-size: 1rem;
    margin-bottom: 0px;
}
.footer-section .contact li {
    width: 100%;
}
.footer-section .contact li:last-child {
    margin-bottom: 0px;
}

.header-section .navbar-nav .nav-item>.nav-link:hover {
    color: var(--bs-primary);
}

.inner-banner-section .banner-content h1.banner-title-2 {
    font-size: 40px;
}
.inner-banner-section .banner-content h1.banner-title-3 {
    font-size: 30px;
}
.inner-banner-section .banner-content h1.banner-title-4 {
    font-size: 24px;
}
@media (min-width: 992px) {
    .owl-right-buttons.owl-right-buttons-mid .owl-nav { 
        top: -2.3rem; 
    }
}
@media (max-width: 620px) {
    .set {
        height: auto !important;
    }
    .inner-banner-section .banner-content p {
        font-size: 16px;
        margin-top: 12px;
    }
    .inner-banner-section .banner-content h1 {
        font-size: 30px;
        line-height: 1;
    }
    .inner-banner-section .banner-content h1.banner-title-2 {
        font-size: 25px;
    }
    .inner-banner-section .banner-content h1.banner-title-3 {
        font-size: 20px;
    }
    .inner-banner-section .banner-content h1.banner-title-4 {
        font-size: 18px;
    }
}
@media (min-width: 621px) and (max-width: 992px) {
    .inner-banner-section .banner-content p {
        font-size: 18px;
        margin-top: 12px;
    }
    .inner-banner-section .banner-content h1 {
        font-size: 35px;
        line-height: 1;
    }
    .inner-banner-section .banner-content h1.banner-title-2 {
        font-size: 30px;
    }
    .inner-banner-section .banner-content h1.banner-title-3 {
        font-size: 27px;
    }
    .inner-banner-section .banner-content h1.banner-title-4 {
        font-size: 22px;
    }
}

.about_out_wrks {
    background-color: #5B5555;
}
.about_out_wrks .section-title .name {
    background-color: #fff;
}
.about_out_wrks .section-title h2{
    color: #fff;
}
.about_out_wrks .item  h4{
    padding: 1.5rem 0;
}

.differentiators.about_out_wrks .item {
    min-height: 290px;
}

@media (max-width:660px) {
    .differentiators.about_out_wrks .item {
        min-height: auto;
    }
}

.differentiators.about_out_wrks .item .icon {
    width:100%;
}

.search-container  .autocomplete-dropdown {
    
    min-width: 300px;
}
.sectionx {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
}
.video-background {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  max-width: auto;
  object-fit: cover;
  width: 102%;
  height: 100%;
  margin: 0;
  z-index: -2;
  pointer-events:none;
}
.video-background::-webkit-media-controls {display: none;}
.video-background::-webkit-media-controls-play-button {display: none;}
.video-background::-webkit-media-controls-volume-slider {display: none;}
.video-background::-webkit-media-controls-mute-button {display: none;}
.video-background::-webkit-media-controls-timeline {display: none;}
.video-background::-webkit-media-controls-current-time-display {display: none;}