  .v_image{
    float: right;
    max-width: 600px;
  }
  .welcome_valuation{
    margin-left: 15px;
    margin-right: 85px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    max-width: 700px;
    padding: 20px;
    border-radius: 5px 82px 5px !important;
    height: 120%;
  }
  /*------------------------------# Services Section --------------------------------------------*/
.services .service-item {
  background-color: #c5122f;
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid #fff;
  max-height: 300px;
  overflow:hidden;
}

.services .service-item .icon {
  color: #c5122f;
  background: #c5122f;
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  color: #fff;
  font-weight: 800;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  color: #fff;
  line-height: 24px;
  font-size: 16px;
  margin-bottom: 0;
}
.services .service-item li {
  color: #fff;
  line-height: 24px;
  font-size: 16px;
  margin-bottom: 0;
}
.services .service-item:hover{
    background-color: #fff;
    color: #000;
    transform: translateY(-10px);
    border-color: #c5122f;
    max-height: 100%;
    -webkit-transition: all 0.5s ease-in-out;
}

@media (min-width: 768px) {

  .services .service-item:hover h3 {
    color: #000000;
  }
  .services .service-item:hover p {
    color: #000000;
  }
  .services .service-item:hover li {
    color: #000000;
  }
}

.swiper-container {
  width: 100%;
  height: 100%;

}
.swiper-full-mobile {
    position: relative;
    margin: 50px auto;
    padding-bottom: 50px;
}

.swiper-full-mobile:befores {
    content: "";
    width: 265px;
    background: url(http://md-aqil.github.io/images/Pixel-3-XL.png);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    height: 565px;
    z-index: 2;
    margin: auto;
}
.swiper-full-mobile .swiper-slide {
  height: 100%;
}
.swiper-full-mobile .swiper-slide img{
  width: 100%;
  height: 530px;
  object-fit: cover;

}
.swiper-slide.swiper-slide-active img {
  border-radius: 00px;

}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,500&display=swap');
.collection{
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.collection .content{
    height: 28rem;
    width: 25rem;
    background-color: #fff;
    border: .2rem solid rgba(255,255,255,.1);
    border-radius: .7rem;
    border-bottom: .4rem solid #c5122f;
    border-top: .4rem solid #c5122f;
    overflow: hidden;
}

.content img{
    width: 100%;
    border-bottom-left-radius: .6rem;
    border-bottom-right-radius: .6rem;
}
.text-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.text-content h3{
    font-size: 1.7rem;
    font-weight: 800;
}
.text-content p{
    max-width: 22rem;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
}
.btn{
    background-color: #c5122f;
    color: #fff;
    padding: .5rem;
    border: 2px solid #fff;
    outline: none;
    font-size: .8rem;
    border-radius: .5rem;
    margin: 1rem 0;
    cursor: pointer;
}
.btns{
    background-color: #c5122f;
    color: #fff;
    padding: .5rem;
    border: 2px solid #fff;
    outline: none;
    font-size: .8rem;
    border-radius: .5rem;
    margin: 1rem 0;
    cursor: pointer;
}

/*=================== infinite logo ===========================*/
.marquee {
  background-color: #fff;
  display: flex;
  block-size: var(--marquee-item-height);
  margin-block: var(--marquee-item-height);
  position: relative;
  overflow-x: hidden;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}
.marquee img{
  background-color: #fff;
  padding: 10px;
  transition: transform 0.3s ease-in-out;
}

.marquee--8 {
  --marquee-item-width: 300px;
  --marquee-item-height: 300px;
  --marquee-duration: 36s;
  --marquee-items: 8;
}
.marquee--9 {
  --marquee-item-width: 100px;
  --marquee-item-height: 200px;
  --marquee-duration: 36s;
  --marquee-items: 8;
}

.marquee__item {
  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);
  transform: translateX(-50%);
  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

.marquee__item:nth-child(4n) {
  border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
  border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
  border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
  border-top-left-radius: 1rem;
}

.marquee--8 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--8 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--8 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--8 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--8 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--8 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

.marquee--8 .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}

.marquee--8 .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}
.marquee--9 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--9 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--9 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--9 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--9 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--9 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

.marquee--9 .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}

.marquee--9 .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}

.marquee--3 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--3 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--3 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--6 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--6 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--6 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--6 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

@keyframes go {
  to {  
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

/******Toggle button *****/
.toggle {
  height: 250px;
  width: 0;
  position: fixed;
  z-index: 9;
  top: 300;
  left: 0;
  background-color: #c5122f;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 30px;
}

.toggle a {
  padding: 5px;
  text-decoration: none;
  font-size: 12px;
  color: #fff;
  display: block;
  transition: 0.3s;
  border-bottom: 1px solid #cccccc;
}

.toggle a:hover {
  color: #adadad;
}

.toggle .closebtn {
    position: absolute;
    cursor: pointer;
    top: -15px;
    right: 1px;
    font-size: 25px;
    margin-left: 50px;
}

.toggle_button {
  position: fixed;
  top: 407px;
  left: 0;
  z-index: 8;
  margin-left: -69px;
  display: block; /* initially visible */
}

#main_2 {
  transition: margin-left .5s;
  border: none;
  z-index: 9;
  color: #fff;
  font-size: 24px;
  padding: 0 30px 0px 30px;
  background-color: #c5122f;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transform: rotate(90deg);

}

/*welcome page mobile responsive*/
@media screen and (max-width: 768px) {
  .toggle {padding-top: 15px;}
  .toggle a {font-size: 18px;}

  .welcome_valuation{
    margin-left: 0px !important;
  }

  .welcome_valuation {
    text-align: center;
  }

  .v_image {
    margin-top: 20px;
    border-radius: 20px;
    min-height: 240px;
  }

  .NewsArea .row{
    margin: 0px !important;
  }
  #welcome_image{
    margin-top: 112px !important;
    margin-right: 0px;
  }
  #lin{
    max-width: 350px !important;
  }
}
/*news section css*/
.NewsLeft{
    min-height: 450px;
    background-color:white;
    margin: 0 0 0px;
    padding: 40px 40px;
}
.NewsLeft h1{
  font-size: 27px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.NewsLeft h1 span{
    display: block;
    width: 100%;
    border-bottom: 2px solid #ddd;
    padding: 0 0 15px;
    position: relative;
}

.NewsLeft h1 span:after{
 content: '';
 position: absolute;
 right: -7px;
 bottom: -10px;
 width: 20px;
 height: 20px;
 background-color: #c5122f;
 border: 2px solid #ddd;
}

.NewsLeft .NewBox{
    height: 280px;
    overflow: auto;
}
 
.NewsLeft .NewBox::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: white;
}

.NewsLeft .NewBox::-webkit-scrollbar{
  width: 5px;
  background-color: white;
}

.NewsLeft .NewBox::-webkit-scrollbar-thumb{
  background-color: #c5122f;
  height:20px;
  border: 1px solid #c5122f;
}

.NewsLeft .NewBox article{
    display: flex;
}

.NewsLeft .NewBox article aside{
    width: 100px;
    border-right: 2px solid gray;
    min-width: 100px;
}

.NewsLeft .NewBox article aside h3{
    margin: 0 0 10px;
    font-weight: bolder;
    font-size: 45px;
    color: #c5122f;
    line-height: 45px;
    font-family: Roboto;
}

.NewsLeft .NewBox article aside h4{
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 600;
    color: #707070;
}

.NewsLeft .NewBox article aside h5{
    margin: 0 0 0;
    font-size: 17px;
}

.NewsLeft .NewBox article fieldset{
    margin: 0 15px 30px;
    border-bottom: 1px solid #ddd;
    min-height: 110px;
}

.NewsLeft .NewBox article:last-child fieldset{
      margin: 0 15px 0px;
    border-bottom: none;
}

.NewsLeft .NewBox article fieldset .News{
    margin: 0 0 20px 0;
}

.NewsLeft .NewBox article fieldset .News h4{
    margin: 0 0 2px;
    font-size: 17px;
    line-height: 24px;
}

.NewsLeft .NewBox article fieldset .News h6{
    margin: 0;
    color: #c5122f;
    font-weight: 600;
    font-size: 13px;
}

.NewsRight{
    padding: 20px 20px;
    min-height: 450px;
    background-size: 100% 100%;
}

.NewsRight h2{
    min-height: 40px;
    background-color: #c5122f;
    border-radius: 0px 30px 30px 0px;
    margin: 0 0 10px -20px;
    padding: 10px 20px 12px;
    color: #fff;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 5px;
}

.NewsRight h2 span{
    font-size: 26px;
    margin: 0px 0 0 40px;
    color: #ede8e7;
}

.NewsRight article{
    height: 300px;
    overflow: auto;
}

.NewsRight article::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: white;
}

.NewsRight article::-webkit-scrollbar{
  width: 5px;
  background-color: white;
}

.NewsRight article::-webkit-scrollbar-thumb{
  background-color: #c5122f;
  height:20px;
  border: 1px solid #555555;
}

.NewsRight article aside{
    margin: 0 0 15px 0;
    padding: 0 10px 10px;
    border-bottom: 1px solid #7c7c7c;
}

.NewsRight article aside a:hover{
  text-decoration: none;
}

.NewsRight article aside a h3{
    margin: 0 0 6px 0px;
    font-size: 17px;
    font-weight: 700;
    color:#c5122f;
}

.NewsRight article aside a h4{
    margin: 0 0 3px;
    font-size: 16px;
    line-height: 23px;
    color: #000;
}

.NewsRight article aside a p{
    margin: 0;
    color: #7c7c7c;
    font-weight: 500;
    font-size: 13px;
}

.SidenavBar{
    min-height: 70vh;
    padding: 30px 0;
    background-color: #e4e3e3;
    font-family: 'Rubik', sans-serif;
}

.SidenavBar li{
    margin: 0 !important;
    border-bottom: 1px solid #7c7c7c70;
}

.SidenavBar li:last-child{
  border:none;
}

.SidenavBar li a{
    padding: 10px 20px;
    font-size: 17px;
    color: grey;
    font-family: Roboto;
}

.SidenavBar li a:hover,
.SidenavBar li.active a{
    color: #c5122f;
    font-weight: bold;
    background-color: transparent !important;
}

.NewsDetails{
    padding: 0px 0 0 0;
}

.NewsDetails h1{
    color: #c5122f;
    font-size: 27px;
    font-family: 'Rubik', sans-serif;
    margin: 0 0 30px 0;
    padding: 15px 0px;
}

.NewsDetails aside{
    margin: 0 0 20px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding: 0 0 15px 0;
}

.NewsDetails aside a.morelink {
    position: absolute;
    right: 20px;
    bottom: 1px;
    font-weight: bold;
}

.NewsDetails aside figure{
    float: left;
    width: 290px;
    margin: 0 20px 20px 0;
}

.NewsDetails aside figure img{
  width: 100%
}

.NewsDetails aside h3{
    margin: 0 0 10px 0;
    font-weight: 600;
    font-family: Roboto;
    font-size: 20px;
    color: #000;
}

.NewsDetails aside h3 a{
  color: #000;
  text-decoration: none !important;
}

.NewsDetails aside h3 a:hover{
    color: #c5122f;
}

.NewsDetails aside h4{
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #828282;
}

.NewsDetails aside p{
    font-size: 14px;
    line-height: 30px;
}

.News a{
  color: #000;
  text-decoration: none !important;
}

.News a:hover{
    color: #c5122f;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    color: #c5122f !important;
    
}
.align-items-center {
    /* align-items: center !important; */
}

.fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

@keyframes zoomInOut {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.heading-wrapper {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  line-height: 0;
  text-align: center;
  margin-left: -720px;
  margin-top: 185px;
  margin-bottom: 15px;
}
  @media (max-width: 767px) {
  .section-title h2 {
      font-size: 24px;
      font-weight: 700;
      position: relative;
    }
  }
  .hover-shadow:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.transition {
  transition: all 0.3s ease-in-out;
}

@keyframes puzzleEffect {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(30deg) translateY(100px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(-10deg) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg) translateY(0);
  }
}

.split-image {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

.split {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slideInSplit 1.2s ease forwards;
}

.split.left {
  background-image: url('assets/img/hero-carousel/footer-bg.jpg');
  transform: translateX(-100%);
}

.split.right {
  background-image: url('assets/img/hero-carousel/footer-bg.jpg');
  transform: translateX(100%);
}

@keyframes slideInSplit {
  to {
    transform: translateX(0);
  }
}

.split-text {
  animation: fadeInZoom 1.2s ease-in-out;
}

@keyframes pixel {
  00% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pixelPop {
  0% { transform: scale(0.5); filter: contrast(0); opacity: 0; }
  100% { transform: scale(1); filter: contrast(1); opacity: 1; }
}

/* Uniform image sizing */
.service-item img {
  width: 100%;
  height: 200px; /* Set desired height */
  object-fit: cover; /* Crop to fill without distortion */
  border-radius: 10px;
}

/* Ensure consistent card layout */
.service-item {
  padding: 0px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Add spacing between cards */
.row.gy-4 > div {
  padding: 15px;
}

/* Headings styling */
.service-item h4 {
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .service-item img {
    height: 180px;
  }

  .service-item h4 {
    font-size: 14px;
  }
}

.masked-text {
    font-size: 4rem;
    font-weight: bold;
    color: transparent;
    background-image: url('https://images.unsplash.com/photo-1732535725600-f805d8b33c9c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); 
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
}

@keyframes animate-background {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
  width: 100%;
}

.heading-wrapper div {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-top: -370px;
  margin-left: -10px;
}

  #industry {
  background-color: #1f2420;
  height: 100%; 
  padding: 60px 20px; 
}

/* Laptops (1200px to 1365px) */
@media (min-width: 1200px) and (max-width: 1365px) {
  #industry {
    min-height: 130vh;
  }
  .heading-wrapper div {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-top: -250px;
  }
}

/* Desktops (1366px to 1439px) */
@media (min-width: 1366px) and (max-width: 1439px) {
  #industry {
    min-height: 100vh;
  }
}

/* Large desktops (1440px and above) */
@media (min-width: 1440px) {
  #industry {
    min-height: 100vh;
  }
}

/* Mobile devices */
@media (max-width: 767px) {
  #industry {
    min-height: 130vh;
  }
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Text Overlay */

.info {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  text-align: center;
}

.card-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: -145px;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  width: 200px;
  position: relative;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

  .card-text {
    font-size: 0.9rem;
  }
  .card-bg-image {
  position: relative;
  width: 220px;
  border: none;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-image-container {
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c5122f;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card-title-overlay {
  position: absolute;
  z-index: 2; /* Make sure it's above the overlay */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  color: #fff;
}

.card:hover .card-img {
  opacity: 0;
}

.card:hover .hover-overlay {
  opacity: 1;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the area */
  display: block;
  word-wrap: break-word;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 140px;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
  color: #fff;
  display: flex;
  align-items: flex-end; /* or center */
  justify-content: center;
}

.card-title {
  font-size: 24px;;
  font-weight: 600;
  margin: 0;
  margin-bottom: 25px;
}

.card-body {
  color: #ffffff;
  font-size: 14px;
}

.card-image-container {
  width: 100%;
  height: 120px; /* Set a fixed height for all images */
  position: relative;
  overflow: hidden;
  opacity: 10;
}
.card-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 5px;
  text-align: center;
  white-space: nowrap;
}
.card-link {
  text-decoration: none;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
  @media (max-width: 1399px) {
      .card-wrapper {
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-bottom: -30px;
      }
  }

.services-list-section {
  padding: 20px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

/* Ensures all boxes are same size */
.service-block {
  width: 23%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Uniform box style */
.service-box {
  background-color: #c5122f;
  padding: 15px;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dropdown content is vertical and fits inside the block */

.dropdown-content {
  position: relative; /* or absolute depending on your layout */
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-x: visible; /* allow nested dropdowns to overflow horizontally */
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}
.dropdown-contents {
  position: relative; /* or absolute depending on your layout */
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: visible; /* allow nested dropdowns to overflow horizontally */
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}

.service-block ul,
.service-block ul li ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-block .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #111;
}
.dropdown-contents ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #111;
}

.dropdown-content a:hover,
.dropdown-contents a:hover {
  background-color: #c5122f;
  color: #fff;
}
/* Hover effect for cards */
.service-box:hover {
  background-color: rgb(221, 142, 23);
  color: #fff;
}

/* Allow word wrapping in all elements */
.service-box, .dropdown-content a, .dropdown-content span {
  word-wrap: break-word;
  white-space: normal;
  font-size: 18px;
}

/* Dropdown now pushes content below instead of overlapping */

/* Show dropdown when active */
.service-block.open .dropdown-content {
  display: block;
  position: relative; 
  top: 0;
  left: 0;
  z-index: 1;
}

/* Dropdown styling remains same, just layout fix */

.dropdown-content li,
.dropdown-contents li {
  margin-bottom: 6px;
}

.dropdown-content a,
.dropdown-contents a {
  display: block;
  padding: 8px 12px;
  color: #111;
  text-decoration: none;
  transition: 0.2s;
}

.service-block:hover .bi-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
/* Parent hover to show first-level dropdown */
.service-block:hover .dropdown-content,
.service-block:hover .dropdown-contents {
  display: block;
}

/* Submenu hover to show nested dropdowns */
.dropdown:hover .submenu {
  display: block;
}
/* Hide submenus by default */
.dropdown-content .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}
.dropdown-contents .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}
.services-list-section,
.navmenu_2 {
  position: relative;
  z-index: 1; /* Make sure it's not interfering */
  overflow: visible; /* Prevents clipping the dropdown */
}

/* Optional styling for dropdown content */
#sectorSlider {
  overflow-x: hidden; /* Ensures no scrollbar */
  scroll-behavior: smooth;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 250px; /* Fixed height for uniformity */
  overflow: hidden;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.name-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px 6px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  z-index: 2;
  font-size: 14px;
  line-height: 1.2;
  word-wrap: break-word;
  white-space: normal;
}

.hover-card {
  position: absolute;
  top: 70px;
  left: 0;
  height: 50%;
  width: 100%;
  background-color: #c5122f;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-text {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 10px 15px;
}

.image-wrapper:hover .hover-card {
  opacity: 1;
}

/* Hide scrollbar across browsers */
#sectorSlider::-webkit-scrollbar {
  display: none;
}
#sectorSlider {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}
.sector-slide {
  min-width: 25%;
  max-width: 25%;
  flex-shrink: 0;
}

.dropdown:hover > .submenu {
  display: block;
}

.dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
}
.dropdown a i {
  margin-left: 5px;
}
.dropdown {
  position: relative;
}
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 210px;
  overflow-y: auto;
}
.service-block .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 280px;
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}
.service-block .dropdown-contents {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}
.dropdown-content ul.submenu,
.dropdown-content > li > ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  min-width: 250px;
  z-index: 1001;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  border-radius: 5px;
}
.dropdown-contents ul.submenu,
.dropdown-contents > li > ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  min-width: 250px;
  z-index: 1001;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  border-radius: 5px;
}
.market-list {
  margin-top: 50px;
}
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px;
  font-weight: bold;
}

.flip-card-back {
  background-color: #c5122f;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
}

.static-text {
  font-size: 16px;
  line-height: 1.4;
}
#sliderWrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 10px; /* optional for spacing */
}

#sectorSlider {
  display: flex;
  gap: 15px;
  padding-right: 25%; /* Allows last card to come fully into view */
}

.header-block {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  display: inline-block;
  border-radius: 6px;
}

.header-title {
  color: #c5122f;
  font-size: 24px;
  font-weight: bold;
}

.header-content {
  color: #fff;
  font-size: 16px;
  margin-top: 5px;
}

.background-header {
  background-color: rgba(0, 0, 0, 0.7); 
  padding: 15px; 
  display: inline-block; 
  border-radius: 6px; 
}
@media screen and (max-width: 767px) {
  .header-block {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  display: inline-block;
  border-radius: 6px;
}

.header-title {
  color: #c5122f;
  font-size: 24px;
  font-weight: bold;
}
 
.background-header{
  background-color: rgba(0, 0, 0, 0.7); 
  padding: 15px; 
  display: inline-block; 
  border-radius: 6px; 
  margin-left: -535px;
}

.card-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 5px;
  text-align: center;
  white-space: nowrap;
}

}
@media screen and (max-width: 767px) {
.services-list-section {
  padding: 20px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

/* Ensures all boxes are same size */
.service-block {
  width: 23%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Uniform box style */
.service-box {
  background-color: #c5122f;
  padding: 15px;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-content {
  position: relative; /* or absolute depending on your layout */
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-x: visible; /* allow nested dropdowns to overflow horizontally */
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}
.dropdown-contents {
  position: relative; /* or absolute depending on your layout */
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: visible; /* allow nested dropdowns to overflow horizontally */
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}

.service-block .dropdown-contents {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 120%;
  max-height: 200px;
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
  font-size: 12px;
}

.service-block ul,
.service-block ul li ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-block .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #111;
}
.dropdown-contents ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #111;
}

.dropdown-content a:hover {
  background-color: #c5122f;
  color: #fff;
}
.dropdown-contents a:hover {
  background-color: #c5122f;
  color: #fff;
}
/* Hover effect for cards */
.service-box:hover {
  background-color: rgb(221, 142, 23);
  color: white;
  transition: background-color 0.3s ease;
}

/* Allow word wrapping in all elements */
.service-box, .dropdown-content a, .dropdown-content span {
  word-wrap: break-word;
  white-space: normal;
  font-size: 8px;
}
/* Dropdown now pushes content below instead of overlapping */

/* Show dropdown when active */
.service-block.open .dropdown-content {
  display: block;
  position: relative; 
  top: 0;
  left: 0;
  z-index: 1;
}
.service-block .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 150%;
  max-height: 280px;
  background-color: #fff;
  color: #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}
/* Dropdown styling remains same, just layout fix */

.dropdown-content li {
  margin-bottom: 8px;
}
.dropdown-contents li {
  margin-bottom: 8px;
}

.dropdown-content a {
  padding: 10px 15px;
  display: block;
  color: #111;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.dropdown-contents a {
  padding: 10px 15px;
  display: block;
  color: #111;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.service-block:hover .bi-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
/* Parent hover to show first-level dropdown */
.service-block:hover .dropdown-content {
  display: block;
}
.service-block:hover .dropdown-contents {
  display: block;
}

/* Submenu hover to show nested dropdowns */
.dropdown:hover .submenu {
  display: block;
  position: absolute;
  left: 100%; /* Place submenu to the right */
  top: 0;
}
/* Hide submenus by default */
.dropdown-content .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}
.dropdown-contents .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}
.services-list-section,
.navmenu_2 {
  position: relative;
  z-index: 1; /* Make sure it's not interfering */
  overflow: visible; /* Prevents clipping the dropdown */
}
}
@media (max-width: 768px) {
  .background-header {
    text-align: center; /* Center-align for mobile */
    padding: 15px;
    margin-left: 270px;
  }

  .header-title {
    margin-left: 0 !important;   /* Remove the negative margin */
    font-size: 20px !important;  /* Slightly smaller for mobile */
    margin-right: 205px;
  }

  .header-content {
    font-size: 10px !important;
    margin-right: 7px;
  }
}

@media (max-width: 767px) {

  .flip-card {
  background-color: transparent;
  width: 115%;
  height: 150px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px;
  font-weight: bold;
}

.flip-card-back {
  background-color: #c5122f;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
}

.static-text {
  font-size: 8px;
  line-height: 1.4;
}

#sliderWrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 10px; 
}

#sectorSlider {
  display: flex;
  gap: 15px;
  padding-right: 25%; 
}

}
@media (min-width: 1200px) {
  .background-header {
    margin-left: -420px;
  }
}

.about-section {
  background-color: #1f2420;
}

.image-hover-wrapper {
  display: inline-block;
  overflow: hidden;
  border-radius: 10px; 
}

.image-hover-wrapper img {
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.image-hover-wrapper:hover img {
  transform: scale(1.1);
}

.ticker-container {
		    background-color: #9d1717;
		    color: #fff;
		    overflow: hidden;
		    white-space: nowrap;
		    width: 100%;
		    height: 40px;
		    display: flex;
		    align-items: center;
		    position: relative;
		}

		.ticker {
		    display: inline-block;
		    white-space: nowrap;
		    animation: ticker-move 50s linear infinite;
		    cursor: pointer;
		}

		.ticker-item {
		    display: inline-block;
		    padding: 0 20px;
		}

		.ticker-item:last-child {
		    border-right: none;
		}
		.ticker-item:hover{
			color: #000;
		}

		.details-container {
		    max-height: 0;
		    overflow: hidden;
		    background-color: #6f55663b;
		    color: #333;
		    transition: max-height 0.5s ease-out;
		    padding: 0 20px;
		}

    .img-responsive {
      position:relative;
      max-width: 632px;
    }

    @media (min-width: 1200px) and (max-width: 1365px) {
      .img-responsive {
        position:relative;
        max-width: 532px;
      }
      .col-md-4 {
        flex: 0 0 auto;
        width: 19.333333%;
    }
    .background-header {
      margin-left: -540px;
    }
    .card-wrapper {
      display: flex;
      justify-content: center;
      gap: 25px;
      margin-bottom: -30px;
    }
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 16.333333%;
    }

    /* to get mobile view  */
    @media (max-width: 768px) {
      .col-md-4 {
        flex: 0 0 auto;
        width: 64.333333%;
        margin-left: 70px;
    }
    }

    /* Your existing specific section — keep it as is */
    @media (max-width: 768px) {
      .your-other-section .card {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        width: 70px;
        margin-right: -5px;
        position: relative;
        color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      }
    }

    /* Fix for your country cards */
    @media (max-width: 768px) {
      .country-card {
        width: 100% !important;
        margin: 0 auto;
        background-color: #f8f9fa;
        color: #000;
      }

      .country-card .card-body {
        padding: 1rem;
      }

      .country-card p {
        margin-bottom: 0.5rem;
        font-size: 14px;
      }
    }

    .country-card {
      min-height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .card.country-card {
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .card.country-card:hover {
      background-color: #c5122f !important;
      color: #ffffff !important;
    }

    .card.country-card:hover .card-body {
      color: #ffffff;
    }

    #showMoreBtn {
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    }

    #showMoreBtn i {
        margin-left: 5px;
    }

    .imglogo-text {
      margin-left: -65px;
      height: 175px;
      margin-top: -32px;
    }

    @media (max-width: 768px) {
      .imglogo-text {
        margin-left: -15px;
        height: 150px;
        margin-top: -32px;
      }
    }
    @media (min-width: 1200px) and (max-width: 1365px) {
      .service-box, .dropdown-content a, .dropdown-content span {
        word-wrap: break-word;
        white-space: normal;
        font-size: 18px;
      }
    }

    .flip-card-back .static-text {
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 16px;
      color: #fff;
      text-align: center;
      line-height: 1.4em;
      max-height: 500px; /* Ensures only 2 lines visible */
    }

    .logo-text{
      margin-left: -220px; 
      margin-top: -27px; 
      font-size: 26px; 
      font-weight: bold;
      background: #ffffff;
    }

    @media (max-width: 768px) {
    .logo-text {
        margin-left: -105px; 
        margin-top: -27px; 
        font-size: 26px; 
        font-weight: bold;
     }
     .heading-wrapper {
        font-size: 1rem;
        font-weight: bold;
        color: #fff;
        line-height: 0;
        text-align: center;
        margin-left: -720px;
        margin-top: 185px;
        margin-bottom: 15px;
      }
      .heading-wrapper div {
        font-size: 20px;
        font-weight: bold;
        color: white;
        margin-top: -220px;
        margin-left: 345px;
      }
    }
    .with-plus::after {
      content: "+";
      margin-left: 2px;
      font-weight: bold;
    }

    @media (min-width: 1200px) and (max-width: 1365px) {
      .heading-wrapper {
        font-size: 1rem;
        font-weight: bold;
        color: #fff;
        line-height: 1.4;
        text-align: center;
        margin-left: -550px;
        margin-top: 185px;
        margin-bottom: 15px;
      }
    }

    .data-blue {
        color: rgb(220 236 101);
        font-weight: bold;
    }
    @media (min-width: 1600px) {
      #services .container {
        max-width: 1400px;
      }
      #services img {
        max-width: 90%;
      }
      .heading-wrapper {
        font-size: 1rem;
        font-weight: bold;
        color: #fff;
        line-height: 0;
        text-align: center;
        margin-left: -750px;
        margin-bottom: 15px;
      }
      .heading-wrapper div {
        font-size: 20px;
        font-weight: bold;
        color: white;
        margin-top: -400px;
      }
      .card-wrapper {
        display: flex;
        justify-content: center;
        gap: 25px;
      }
    }

  /* Tablet Screen Resolution */
  @media (min-width: 768px) and (max-width: 1199px) {
    .heading-wrapper div {
      font-size: 20px;
      font-weight: bold;
      color: white;
      margin-top: -250px;
    }
    .heading-wrapper {
      font-size: 1rem;
      font-weight: bold;
      color: #fff;
      line-height: 0;
      text-align: center;
      margin-left: -190px;
      margin-top: 0px;
    }
    .card-wrapper {
      right: 10px;
      bottom: 10px;
      width: 80%;
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 300px;
      margin-left: 80px;
    }

    .card {
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
      width: 150px;
      margin-right: -5px;
      position: relative;
      color: white;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
  }
  
  @media (max-width: 768px) {
  .card-wrapper {
    right: 10px;
    bottom: 10px;
    width: 75%;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: -30px;
    margin-left: 45px;
  }

  .card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 70px;
    margin-right: -5px;
    position: relative;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
}
