:root {
  --redish: #c11b24;
  --redish-brown-hover: #9e1018;
  --redish-brown: #911a23;
  --nav-link: #707070;
  --main-bg: #f7f7f7;
  --bg-light-blue: #f0f1f5;
  --table-head: #c11b24;
  --contact-bg: #eeeeee;
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}


#socialRightFloat{
  transition: all 0.3s ease-in-out;
  right:-20rem;
}

#socialRightFloat:hover{
  right:0!important;
}

#socialRightFloat.active{
  right:0!important;
}

#socialRightFloat img{
  width: 2rem;
}

@media (max-width:598px) {
  #socialRightFloat img{
    width: 2rem;
  }
    
}

#socialRightFloat .bg-redish{
  background-color: var(--redish-brown);
  border-bottom-left-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
}

.d-grid {
  display: grid;
}

#landing h1.display-3 {
  transition: all 0.3s ease-in-out;
}

#landing h1.display-3:hover {
  color: var(--redish-brown);
  text-shadow: -1px 1px 0 #fff, 1px 1px 0 #fff, 1px -1px 0 #fff,
    -1px -1px 0 #fff;
}

.place-items-center {
  place-items: center;
}

.text-redish {
  color: var(--redish);
  transition: all 0.2s ease-in;
}

.bgRedishBrown {
  background-color: var(--redish-brown);
}

.bgRedHeading {
  background-color: var(--redish-brown);
  color: white;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.bgRedRoundedImg {
  background-color: var(--redish-brown);
  color: white;
  border-radius: 50px;
  padding: 0.5rem;
  width: 100px;
  height: 100px;
}

.bgGray {
  background-color: var(--main-bg);
}

#contactUs.bgGray {
  background-color: var(--contact-bg);
}

.bgRedRoundedImg img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
}

.text-redish-brown {
  color: var(--redish-brown);
}
a {
  text-decoration: none;
}



.row {
  margin: 0;
}

.indexSection {
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
  transition: background-color 0.2s ease-in;
}
.indexSection:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

#landing .hero {
  margin-top: 0;
  position: static;
  min-height: 100vh;
}

#tradingIndex {
  background-image: url("./../images/backgrounds/tradingBG.png");
}

#consultingIndex {
  background-image: url("./../images/backgrounds/consultingBG.png");
}

.carousel-indicators {
  bottom: -3rem;
}

.indexSection a {
  transition: border-bottom 0.2s ease-in;
}

.indexSection:hover a {
  color: black;
}

#indexLogo {
  top: 1rem;
  left: 50%;
  transform: translate(-50%, 0);
  height: clamp(6rem, 10vw, 12rem);
}

/* navbar */

nav.navbar {
  background-color: white;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

nav .logo {
  width: 5rem;
}

nav .nav-link {
  color: var(--nav-link);
  font-weight: bold;
  font-size: 0.9rem;
}

nav .nav-link.active {
  color: var(--redish-brown);
  border-bottom: 1px solid var(--redish-brown);
}

nav .nav-link:hover {
  color: var(--redish-brown);
}

.bg-red {
  background-color: var(--redish);
  color: white;
  width: 15rem;
  height: 2rem;
  border-radius: 25px;
  border: none;
  transition: all 0.2s ease-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav .bg-red {
  width: 10rem;
  height: auto;
  text-align: center;
  color: white;
}

button.bg-red:hover,
a.bg-red:hover {
  background-color: white;
  color: var(--redish-brown);
}
nav .bg-red:hover {
  border: 1px solid var(--redish-brown);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0rem;
}


#trading-header-placeholder ul.dropdown-menu {
  width: 15rem;
  background: var(--redish-brown);
}

#trading-header-placeholder ul.dropdown-menu li a {
  white-space: pre-wrap;
  color: white;
}

@media (min-width:576px) {
    #trading-header-placeholder .dropdown:hover .dropdown-toggle{
        color:var(--redish-brown-hover);
    }
    #trading-header-placeholder .dropdown:hover .dropdown-menu{
        display: block;
        animation: fade_in_show 0.5s;
    }        
}

@keyframes fade_in_show {
    0% {
         opacity: 0;
    }

    100% {
         opacity: 1;
    }
}
/* #trading-header-placeholder .dropdown-toggle:hover + .dropdown-menu{
    display: block;
} */

#trading-header-placeholder ul.dropdown-menu li:hover,
#trading-header-placeholder ul.dropdown-menu li:hover a {
  background-color: white;
  color: var(--redish-brown);
}

@media (max-width: 576px) {
  #trading-header-placeholder ul.dropdown-menu {
    width: auto;
    background: var(--redish-brown);
  }
}

/* navbar End */

/* consulting */
.hero {
  min-height: 635px;
  margin-top: 5rem;
  position: relative;
  background-size: contain;
  background-position: center;
  background-size: cover;
}

.redBox img {
  width: 35%;
}

#consulting .hero {
  background-image: url("./../images/backgrounds/consultingHero.png");
  overflow: hidden;
  min-height: 550px;
  background-position: 100px;
}

#consulting .hero h1 {
  width: 30%;
  left: 4vw;
  top: 50%;
  transform: translateY(-50%);
  text-align: start;
}

#consulting .hero:before {
  position: absolute;
  content: "";
  width: 1325px;
  height: 950px;
  background-color: var(--redish-brown);
  top: 0;
  left: 0;
  transform: rotateZ(60deg) translate(-120px, 500px);
}

#consulting .hero:after {
  position: absolute;
  content: "";
  background: linear-gradient(
    125deg,
    var(--redish) 35%,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 0) 55%,
    var(--redish) 10%
  );
  top: 0;
  left: 0;
  z-index: 10;
  width: 1000px;
  height: 60px;
  transform: rotate(60deg) translate(340px, 50px);
}

@media (max-width: 992px) {
  #consulting .hero {
    background-position: center;
  }
  #consulting .hero h1 {
    width: 50%;
  }
  #consulting .hero:before,
  #consulting .hero:after {
    display: none;
  }
}

@media (max-width: 576px) {
  #consulting .hero h1 {
    width: 100%;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* 
@media (max-width:420px) {
    #consulting .hero h1{
        width: 100%;
        left:50%;
        bottom: 0;
        transform: translateX(-50%);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
} */

/* consulting More Info */

/* consulting Hub Section */

#consultingHubSection {
  background-color: var(--bg-light-blue);
}

#consultingHubSection .para {
  width: 80%;
}
#consultingHubSection .videoContainer {
  background-color: white;
}

#consultingHubSection .videoContainer p {
  width: clamp(18rem, 75%, 22rem);
}

/* @media(max-width:768px){
    #consultingHubSection .videoContainer p{
        font-size: 1.1rem;
    }
} */

.red-hover-outline.bg-red:hover {
  outline: 1px solid var(--redish-brown);
}

#consultingHubSection .videoContainer iframe {
  width: 100%;
  /* height: clamp(18rem, 20vh, 22rem); */
  aspect-ratio: 16/9;
}

/* consulting Hub Section End */

/* consulting Carousal */
#consultingCarousel {
  background-image: url("./../images/backgrounds/carouselBG.png");
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
}


@media (min-width: 768px) {
  .carouselText {
    font-size: 1.3rem;
  }
}

.carousel-item * {
  color: white;
}
.carousel-item .carouselText {
  width: 75%;
}
.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
/* consulting Carousal End  */

/* xceed hub */
#hubEdge .card .card-body {
  background-color: var(--redish);
  color: white;
}

/* xceed hub End */

.redBox {
  width: 100%;
  background-color: var(--redish);
  min-height: 256px;
  border-radius: 55px;
}

.bg-white-btn {
  background-color: white;
  width: 9rem;
  text-align: center;
  border-radius: 25px;
  color: black;
  transition: all 0.2s ease-in;
}

.bg-white-btn:hover {
  color: white;
  background-color: var(--redish-brown);
}

/* consulting More Info End */

/* consulting End */

/* Trading */
#about .hero,
.trading .hero {
  background-image: url("./../images/backgrounds/tradingHero.png");
  min-height: 40vh;
  max-height: 650px;
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-position-y: 0px;
}

.trading .iconDivs .iconHoverGray {
  transition: filter 0.3s ease-in-out;
}
.trading .iconDivs .overlay-2 {
  transition: background-color 0.3s ease-in-out;
  display: grid;
  place-items: center;
  min-height: 1.8rem;
}
.trading .iconDivs:hover .iconHoverGray {
  filter: invert(30%) sepia(1%) saturate(0%) hue-rotate(2deg) brightness(94%)
    contrast(88%);
}
.trading .iconDivs:hover .overlay-2 {
  background-color: var(--redish-brown-hover);
}
/* .trading .iconHoverGray:hover{
    filter: invert(30%) sepia(1%) saturate(0%) hue-rotate(2deg) brightness(94%) contrast(88%);
} */

.weDealIn .card{
  max-width:217.188px;
}
 

@media (max-width: 576px) {
  #about .hero h1,
  #trading .hero {
    min-height: 45vh;
    background-position-x: 110vh;
  }
}

@media (max-width: 440px) {
  #about .hero h1,
  #trading .hero {
    background-position-x: 100vh;
  }
}
#about .hero h1,
.trading .hero h1 {
  bottom: 1rem;
  right: 7rem;
}

@media (max-width: 576px) {
  .trading .hero h1 {
    right: auto;
    left: auto;
  }
}

.trading #section1 .card {
  border: 4px solid var(--redish-brown);
  border-radius: 0;
  overflow: hidden;

}

.trading .iconDivs{
  aspect-ratio: 1/1;
}



.trading #section1 .card img {
  transition: all 0.3s ease-in-out;
}
.trading #section1 .card:hover img {
  transform: scale(1.1);
  overflow: hidden;
}

/* #section1 .position-relative{
    top:-2rem;
} */

.overlay-2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-2 .fontSM {
  font-size: 0.8rem;
  margin:0;
}

.overlay-2 .fontXM {
  margin:0;
  font-size: 0.7rem;
}

#whyUs {
  background-color: var(--bg-light-blue);
}

.div {
  background-color: var(--redish-brown);
  border-radius: 25px;
}

/* Trading End */
footer a {
  color: white;
  transition: all 0.2s ease-in-out;
}

footer a:hover {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

/* #quickLinks a:after{
    content: '\2192';
    color:red;
    font-weight: bolder;
    display: inline-block;
    width: 1rem;
    margin-left: 0rem;
    transition: all 0.2s linear;
    opacity: 0;
}

#quickLinks a:hover:after{
    margin-left: 1rem;
    opacity: 1;
} */

ul.redBullet {
  list-style-type: none;
}

.redBullet li:before {
  content: "\2022";
  color: red;
  font-weight: bolder;
  display: inline-block;
  width: 1.5rem;
  margin-left: -1rem;
}

footer .row > * {
  padding: 0;
}

footer a.text-redish:hover {
  color: var(--redish);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .w-md-75 {
    width: 75%;
  }
}

#socialFooter a {
  transition: transform 0.2s ease-in-out;
}

footer img {
  width: 1.8rem;
}
#socialFooter a:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #quickLinks h1 {
    text-align: center;
  }

  #contactInfo h1 {
    text-align: center;
  }
}

#contactInfo a {
  transition: color 0.2s ease-in-out;
}

#contactInfo a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* .fade{

    transition: opacity .15s linear;
}
.tooltip{
    z-index: 1080;
    display: block;
    font-family: var(--bs-font-sans-serif);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: .875rem;
    word-wrap: break-word;
}
.bs-tooltip-auto[data-popper-placement^=top], .bs-tooltip-top{
    padding: .4rem 0;
}
.tooltip.show{
    opacity: .9;
} */

svg path {
  fill: black;
}

.Mytooltip {
  position: relative;
}

.Mytooltip:hover {
  fill: red;
}

/* .tooltip{
    left:1000px;
    top:378px;
} */

/* 1007
462 */
/* left: 840px;  167
    top: 260px;  202   */

/* china */
/* 1143 163
367   207 */

/* left: 980px;
    top: 160px; */
/* inline */
/* position: absolute;
inset: auto auto 0px 0px;
margin: 0px;
transform: translate(310px, 1397.8px); */

/* Jobs  */

table,
tr,
td,
th {
  border: none;
}

td {
  border: 1px solid var(--nav-link);
}

table thead {
  background-color: var(--table-head);
  color: white;
}
.table > :not(:first-child) {
  border-top: 2px solid transparent;
}

/* Jobs End */

/* Training */
#training .redBox {
  border-radius: 20px;
}

.img-w-md-25 {
  width: 100%;
}

@media (min-width: 768px) {
  .img-w-md-25 {
    width: 25%;
  }
}

/* Training End */

/* Knowledge */

.textParas p {
  text-align: justify;
}
#knowledge .redUlList {
  list-style: none; /* Remove default bullets */
}

#knowledge .redUlList li::before {
  content: "\2022"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: var(--redish); /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
  font-size: 1.5rem;
}

@media (max-width:768px) {
  .dropDownDiv .col-12 {
    height: 18rem;
  }    
}

.dropDownTrigger{
  min-height: 18rem;
  cursor: pointer;
}
.dropDownTrigger .paras{
  min-height: 18rem;
}

.dropDownTarget{
  height: 0rem;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.dropDownDiv .col-12 {
  height: 16rem;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.h-min-17rem{
  min-height: 17rem;
  display: flex;
  justify-content: center;
  align-items: self-start;
  flex-direction: column;

}
/* .dropDownDiv .col-12:hover{
    height: 1517px;

} */
/* Knowledge End */

/* login */

#login {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#login .card {
  width: 25rem;
  min-height: 20rem;
}

#login .submitBtn {
  border-radius: 50px;
  width: fit-content;
  border: none;
  outline: none;
  transition: all 0.2s ease-out;
}

#login .submitBtn:hover {
  background-color: var(--redish-brown);
  color: white;
  outline: 2px solid white;
}

#login .form-control {
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: 5px;
  padding-left: 40px;
}

#username {
  background-image: url("./../images/icons/envelop.png");
}

#password {
  background-image: url("./../images/icons/lock.png");
}
/* login End */

/* trading parts */
#parts .hero {
  background-image: url("./../images/trading/parts.png");
  background-position-y: 100%;
}
/* trading parts End */

/* Metals parts */
#metals .hero {
  background-image: url("./../images/trading/metal.png");
}
/* Metals parts End */

/* medical parts */
#medical .hero {
  background-image: url("./../images/trading/medical.png");
}
/* medical parts End */

/* infrastructure parts */
#infrastructure .hero {
  background-image: url("./../images/trading/construction.png");
}
/* infrastructure parts End */

/* power parts */
#power .hero {
  background-image: url("./../images/trading/power.png");
}
/* power parts End */
/* emobility parts */
#emobility .hero {
  background-image: url("./../images/trading/emobility.png");
  background-position: center;
}
/* emobility parts End */

/* about */

#about .hero {
  background-image: url("./../images/trading/about.png");
  min-height: 58vh;
}

#about section .bg-red {
  width: auto;
  height: auto;
}

#about section .redBullet li:not(:nth-of-type(1)) {
  padding-top: 0.5rem;
}
#about section .redBullet li:before {
  font-size: 2rem;
  width: auto;
}
.w-15rem {
  width: 15rem;
}


#ourValues {
  min-height: 50vh;
  border-radius: 0;
}

/* #ourValues .valueItem:hover{
  background-color: red;  
} */
#about .detailsOnHover {
  display: none !important;
  /* opacity: 0; */
  transform: translateY(-50%);
}

#about .detailsOnHover:first-child {
  display: flex !important;
}

#about .detailsOnHover p {
  border-left: 2px solid var(--redish-brown);
}

#about .detailsOnHover p::before {
  content: "";
  position: absolute;
  background-color: var(--redish-brown);
  width: 1rem;
  height: 2px;
  top: 50%;
  left: 0rem;
}

/* #about .overlay-2{
background-color: rgba(0, 0, 0, 0.6);
top: 100%;

} */
/* about Us*/

/* Contact Us */

#contactUs .social img {
  transform: scale(0.9);
  transition: transform 0.2s ease-in-out;
}

#contactUs .social img:hover {
  transform: scale(1);
}

@media (min-width: 786px) {
  .border-md-start {
    border-left: 2px solid black;
  }
}

#contactUs form > div {
  row-gap: 2rem;
}

#contactUs form input {
  border: 0;
  border-bottom: 1px solid black;
  background-color: transparent;
  font-size: 0.8rem;
}

#contactUs form input:focus-visible {
  outline: 0;
}

#contactUs form input[type="submit"] {
  border: 0;
  background-color: transparent;
  font-size: 1.2rem;
  position: relative;
  font-weight: bold;
  color: var(--nav-link);
}
#contactUs form input[type="submit"]:hover + img {
  transition: all 0.3s ease-in;
}

#contactUs form input[type="submit"]:hover + img {
  transform: translateX(0.5rem);
}

#contactUs .icon {
  width: 1.5rem;
}

/* Contact Us End */
