@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap");



* {
  margin: 0;
  padding: 0;
}

.team-bg{
  width: 100%;
  height: 600px;
  background-image: url('https://www.ghlindia.com/assets/img/full.jpg');
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat; 
}

/*card*/

.card {
    
    border: none;
}
.ourteam a:hover{
        color: #e70e0f;
}
/*card end*/

.team-section-with-background {
  position: relative; 
  width: 100%; 
  height: 500px;
  overflow: hidden;
}

.team-background-image {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.ghlindia.com/assets/img/hero/gallery/g4.JPG'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  z-index: -1; 
  opacity: 0.8;
}

.team-meet {
  color: black !important;
}

.ourteam {
    background: linear-gradient(-230deg, #ffffff 57%, #ff2c2d 81%);
    border-radius: 20px;
}

.ourteam-content {
  text-align: center;
  margin: auto;


}

.team-button{
  border: none;
  background: none;
}
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */

.team h2 {
  font-size: 1.50rem;
 color: #fff;
  line-height: 1.1;

}

.team-card a {
  text-decoration: none;
}

.team p {
 color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.flow>*+* {
  margin-top: var(--flow-space, 1em);
}

/* CARD COMPONENT */

.team-card {
  display: grid;
  place-items: center;
  width: 80vw;
  max-width: 21.875rem;
  height: 28.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.team-card>* {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.team-card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.team-card__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  height: 55%;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(180deg,
      hsla(0, 0%, 0%, 0) 0%,
      hsla(0, 0%, 0%, 0.3) 10%,
      hsl(0, 0%, 0%) 100%);
      width:100%;
}

.team-card__content--container {
  --flow-space: 1.25rem;
}

.team-card__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  /* Prefijo necesario para Firefox  */
}

.team-card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color:#a62121;
  ;
}

.team-card__button {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content;
  /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: var(--brand-color);
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: var(--black);
}

.team-card__button:focus {
  outline: 2px solid black;
  outline-offset: -5px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .team-card__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .team-card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  /* .team-card__background {
    transition: transform 500ms ease-in;
  } */

  .team-card__content--container> :not(.team-card__title),
  .team-card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .team-card:hover,
  .team-card:focus-within {
    transform: scale(1.05);
    transition: transform 500ms ease-in;
  }

  .team-card:hover .team-card__content,
  .team-card:focus-within .team-card__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .team-card:focus-within .team-card__content {
    transition-duration: 0ms;
  }

  /* .team-card:hover .team-card__background,
  .team-card:focus-within .team-card__background {
    transform: scale(1.3);
  } */

  .team-card:hover .team-card__content--container> :not(.team-card__title),
  .card:hover .card__button,
  .team-card:focus-within .team-card__content--container> :not(.team-card__title),
  .team-card:focus-within .team-card__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .team-card:hover .team-card__title::after,
  .team-card:focus-within .team-card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}


h2.bg {
  font-size: 30px;
  line-height: 80px;
  font-weight: 800;
  text-transform: uppercase;
  background: url(https://www.ghlindia.com/assets/img/hero/gallery/g4.JPG) 0 0 / cover no-repeat;
  color: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


@media only screen and (min-width: 768px) and (max-width: 768px) {
  .team-card {
    display: grid;
    place-items: center;
    width: 100%;
     max-width: 21.875rem;
    height: 28.125rem;
    overflow: hidden;
    border-radius: 0.625rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
  }
  .team-card__content {
    --flow-space: 0.9375rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: flex-end;
    height: 55%;
    padding: 10% 0.25rem 1.875rem;
    background: linear-gradient(180deg, hsla(0, 0%, 0%, 0) 0%, hsla(0, 0%, 0%, 0.3) 10%, hsl(0, 0%, 0%) 100%);
}
.image-container-1 img {
  width: 100%;
  height: 300px !important;
  object-fit: cover;
  transition: opacity 0.5s;
  border-radius: 30px;
  margin-top: 25px;
}
}
@media screen and (max-width: 600px) {
  .model-teamimage{
    
    border-radius: 34px 34px 0px 0px !important;
}
.ourteam-content .card-body{
        margin: 20px 15px;
}
.team .col-md-4{
  text-align: -webkit-center;
}
.team-model-icons{
  margin-bottom: 30px;
}
.ourteam {
    background: linear-gradient(158deg, #ffffff 52%, #ff2c2d 73%);
    border-radius: 20px;
}
.xicon{
  position: absolute;
  left: 90%;
  top: 0%;
}
.image-container-1 img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: opacity 0.5s;
  border-radius: 30px;
  margin-top: 30px;
}
.team-meet {
    margin: 20px 0px;
    color: black !important;
}
.wimg{
  width: 100% !important;
}

}

@media only screen and (min-width: 1024px) and (max-width: 1024px) {
 .team-card {
    display: grid;
    place-items: center;
    width: 45vw;
    max-width: 18.875rem;
    height: 28.125rem;
    overflow: hidden;
    border-radius: 0.625rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
} 
}
@media screen and (max-width:1024px){
  .team-bg{
    width: 100%;
    height: 400px;
    background-image: url('https://www.ghlindia.com/assets/img/hero/gallery/03.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
  }
}
.modal-dialog{
  
border-radius: 35px;
border: 1px solid rgba(23, 5, 109, 0.418);
background:#a62121;
} 
.model-teamimage{
  border-radius: 34px 34px 34px 34px;
}
.team-model-icons{
  text-decoration: none;
}
.btn-close{
  color: #fff !important;
}
.fa-x{
  background: none;
  color: #fff;
  border: none;
  font-size: 20px;
}
@media (min-width: 1400px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1124px;
}
}
.word-specing{
  letter-spacing: 3px;
}
/* gellary start */

/* hide scrollbar */
::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

::-webkit-scrollbar-button {
  width: 1px;
  height: 1px;
}
.external {
  overflow: hidden;
  height: 80vh;
}
/* .team-meet-1{
  margin-bottom: -100px;
} */
.horizontal-scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vh;
  transform: rotate(-90deg) translate3d(0,-100vh,0);
  transform-origin: right top;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  height: 100vw;
  perspective: 1px;
	transform-style: preserve-3d;
  padding-bottom: 10rem;
}
.gellary-img-wrapper {
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  transform-origin: 50% 50%;
  transform: rotate(90deg) translateZ(.1px) scale(0.9) translateX(0px) translateY(-3vh);
  transition: 1s;
}

.gellary-img-wrapper:hover {
 min-height: 65vh;
}

.slower {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(-10vh);
}
.slower1 {
  transform: rotate(90deg) translateZ(-.25px) scale(1.05) translateX(0%) translateY(8vh);
}
.slower2 {
  transform: rotate(90deg) translateZ(-.3px) scale(1.3) translateX(0%) translateY(2vh);
}
.slower-down {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(16vh) ;
}
.faster {
  transform: rotate(90deg) translateZ(.15px) scale(0.8) translateX(0%) translateY(14vh) ;
}
.faster1 {
  transform: rotate(90deg) translateZ(.05px) scale(0.8) translateX(0%) translateY(10vh) ;
}
.fastest {
  transform: rotate(90deg) translateZ(.22px) scale(0.7) translateX(-10vh) translateY(-15vh) ;
}
.vertical {
   transform: rotate(90deg) translateZ(-.15px) scale(1.15) translateX(0%) translateY(0%) ;
}
.last {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(25vh) translateY(-8vh) ;
}
.scroll-info, header {
  /*position: absolute;*/
  left: 1rem;
}



.scroll-info {
  top: 1rem;
}
.gellary a {
  color: inherit;
  font-weight: 500;
  
}
.gellary h1 {
  font-weight: 300;
  font-size: 1rem;
}

.gellary-img-wrapper a {
  overflow: hidden;
  display: block;
  padding: 1vh ;
  background: #efecdb;
  box-shadow: 0 10px 50px #5f2f1182;
}
.gellary img {
  max-width: 45vh;
  max-height: 50vh;
  transition: .5s;
  vertical-align: top;
  /* filter: saturate(40%) sepia(30%) hue-rotate(5deg); */
}
.gellary a:hover img {
  filter: none;
}
.gellary p {
  margin: 0;
}
.scroll-info {
  display: flex;
  align-items: center;
}
.icon svg {
    width: 50px;
    fill: currentcolor;
}
/* image gellary */

.image-container img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  transition: opacity 0.5s;
  border-radius: 15px;
}
.image-container-1 img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: opacity 0.5s;
  border-radius: 15px;
}
.gallery-image-11{
  margin-bottom: -50px;
}

.wimg{
  width: 60%;
}