/* GILROY FONTS  */
@font-face {
  font-family: Gilroy-Bold;
  src: local("../fonts/Gilroy-Bold.otf"), url(../fonts/Gilroy-Bold.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: Gilroy-SemiBold;
  src: local("../fonts/Gilroy-SemiBold.otf"), url(../fonts/Gilroy-SemiBold.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: Gilroy-Medium;
  src: local("../fonts/Gilroy-Medium.otf"), url(../fonts/Gilroy-Medium.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: Gilroy-Regular;
  src: local("../fonts/Gilroy-Regular.otf"), url(../fonts/Gilroy-Regular.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: Gilroy-UltraLight;
  src: local("../fonts/Gilroy-UltraLight.otf"), url(../fonts/Gilroy-UltraLight.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

/*=============== VARIABLES CSS ===============*/
:root {
  --def-transition-duration: .3s;
  --loader-text-color: #f6e9fe;
  --loader-bg: #100319;


  /*========== Colors ==========*/
  --hue: 152;
  --first-color: #ffc619;
  --first-color-alt: #fda300;
  --first-color-light: #93bdaa;
  --first-color-lighten: #e6efeb;
  --title-color: #252826;
  --text-color: #4a4a4a;
  --text-color-light: #646262;
  --body-color: #ffffff;
  --container-color: #ffffff;

  /*========== Font and typography ==========*/
  --body-font: 'Gilroy-Regular', Helvetica, Arial, sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

.container:not(.skip-max-container-width) {
  max-width: 968px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* FULLSCREEN MENU */
.menu-toggle {
  position: absolute;
  top: 2rem;
  left: 2rem;
  border: none;
  background-color: transparent;
  color: inherit;
  font-size: 1.625rem;
  cursor: pointer;
  z-index: 444;
}

.menu {
  position: fixed;
  inset: 0;
  background-color: #212121;
  color: #f1faee;
  transform: translateX(-100vw);
  overflow: hidden;
  z-index: 999;
}

.menu a {
  color: inherit;
  text-decoration: none;
}

.menu a:hover {
  color: hsla(0, 0%, 100%, .5);
}

.menu-container {
  display: flex;
  flex-direction: column;
  width: min(100% - 2rem, 70rem);
  height: 100%;
  margin-inline: auto;
  padding-block: 2rem;
}

.menu nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  z-index: 10;
  gap: 1rem;
}

.menu nav a {
  position: relative;
  font-size: 3.5rem;
  font-weight: 500;
  font-family: Gilroy-Bold, Helvetica, Arial, sans-serif;
}

.menu nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: -0.5rem;
  height: 3px;
  background-color: currentColor;
  opacity: 0;
  transform: scale(0);
  transition: transform .4s ease-out;
}

.menu nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* FULLSCREEN MENU */

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.section__title,
.section__title-center {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  line-height: 140%;
  font-family: Gilroy-Bold, Helvetica, Arial, sans-serif;
}

.section__title-center {
  text-align: center;
}

.hidden {
  display: none;
}

.text-bold,
b,
strong {
  font-family: Gilroy-Bold, Helvetica, Arial, sans-serif;
  font-weight: var(--font-bold)
}

.grid {
  display: grid;
}

.main {
  overflow: hidden;
}

.text-white {
  color: #ffffff;
}

.text-black {
  color: #000000;
}

/* WHAT WE DO SECTION */
#what_we_do h2,
.contact-title {
  font-family: Gilroy-UltraLight, Helvetica, Arial, sans-serif;
  font-size: 2.8rem;
  /* line-height: 3.6rem; */
}

#what_we_do p {
  font-size: 0.8rem;
}

/* #what_we_do .row {
  padding-left: 100px;
  padding-right: 100px;
} */

.contact-subtitle {
  line-height: 3;
  font-family: Gilroy-Bold, Helvetica, Arial, sans-serif;
}

.accordion__title {
  font-family: Gilroy-Medium, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.text-grey {
  color: #6b6b6b;
}

.lead {
  font-family: Gilroy-Medium, Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 2.4rem;
  font-weight: 400;
}

.questions__item {
  border-radius: .25rem;
}

.questions__item hr {
  margin: 0;
}

.questions__icon {
  font-size: 1.25rem;
  color: hsl(152, 4%, 15%);
}

.questions__header,
.back-link {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  padding: .75rem .5rem;
  cursor: pointer;
}

.questions__header.project-detail {
  justify-content: end;
}

.questions__content {
  overflow: hidden;
  height: 0;
}

.questions__item,
.questions__header,
.questions__item-title,
.questions__icon,
.questions__description,
.questions__content {
  transition: .3s;
}

.questions__item:hover:not(.project-info-btn) {
  box-shadow: 0 2px 8px hsla(152, 4%, 15%, .15);
}

.accordion-open .questions__icon {
  transform: rotate(45deg);
}

/* WHAT WE DO SECTION */


/*=============== HOME ===============*/
.home {
  padding: 3.5rem 0 2rem;
}

.home__container {
  position: relative;
  row-gap: 2rem;
}

.home__img {
  width: 200px;
  justify-self: center;
}

.home__title {
  font-size: var(--big-font-size);
  line-height: 140%;
  margin-bottom: var(--mb-1);
}

.home__description {
  margin-bottom: var(--mb-2-5);
}

.home__social {
  position: absolute;
  top: 2rem;
  right: -1rem;
  display: grid;
  justify-items: center;
  row-gap: 3.5rem;
}

.home__social-follow {
  font-weight: var(--font-medium);
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  position: relative;
  transform: rotate(90deg);
}

.home__social-follow::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 2px;
  background-color: var(--first-color);
  right: -45%;
  top: 50%;
}

.home__social-links {
  display: inline-flex;
  flex-direction: column;
  row-gap: .25rem;
}

.home__social-link {
  font-size: 1rem;
  color: var(--first-color);
  transition: .3s;
}

.home__social-link:hover {
  transform: translateX(.25rem);
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--container-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button__icon {
  transition: .3s;
}

.button:hover .button__icon {
  transform: translateX(.25rem);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.button--link {
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.button--link:hover .button__icon {
  transform: translateX(.25rem);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 2rem;
}

.about__img {
  width: 280px;
  justify-self: center;
}

.about__title {
  margin-bottom: var(--mb-1);
}

.about__description {
  margin-bottom: var(--mb-2);
}

.about__details {
  display: grid;
  row-gap: 1rem;
  margin-bottom: var(--mb-2-5);
}

.about__details-description {
  display: inline-flex;
  column-gap: .5rem;
  font-size: var(--small-font-size);
}

.about__details-icon {
  font-size: 1rem;
  color: var(--first-color);
  margin-top: .15rem;
}

/*=============== TOP PROJECT CARDS ===============*/
/* TODO:STEPS SECTION  NEED TO BE REPLACED WITH TOP 4 PROJECTS */
.steps__bg {
  /* padding: 3rem 2rem 2rem; */
  border-radius: 1rem;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landscape-img-cover {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.img-holder {
  /* aspect-ratio: var(--width) / var(--height); */
  background-color: hsl(0, 0%, 80%);
}

.steps__container {
  gap: 2rem;
  padding-top: 2rem;
}
.project-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 0%, 0.578);
  opacity: 0.5;
  transition: 0.5s ease;
}

.project-card:is(:hover, :focus-within)::after {
  opacity: 1;
}

.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  transition: 0.5s ease;
}

.project-card:is(:hover, :focus-within) .card-content {
  transform: translateY(-20px);
}

.project-card .card-subtitle {
  color: hsl(230, 19%, 81%);
  font-size: 1rem;
  line-height: 1.2;
}

.project-card .card-title {
  color: hsl(0, 0%, 100%);
  margin-block: 12px 15px;
}





/*-----------------------------------*\

/*=============== FOOTER ===============*/
.footer__container {
  row-gap: 3rem;
}

.footer__content ul {
  padding: 0;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: var(--mb-2-5);
  transition: .3s;
}

.footer__logo-icon {
  font-size: 1.15rem;
  color: var(--first-color);
}

.footer__logo:hover {
  color: var(--first-color);
}

.footer__subscribe {
  background-color: var(--first-color-lighten);
  padding: .75rem;
  display: flex;
  justify-content: space-between;
  border-radius: .5rem;
}

.footer__input {
  width: 70%;
  padding: 0 .5rem;
  background: none;
  color: var(--text-color);
  border: none;
  outline: none;
}

.footer__button {
  padding: 1rem;
}

.footer__data {
  display: grid;
  row-gap: .75rem;
}

.footer__information {
  font-size: var(--small-font-size);
}

.footer__social {
  display: inline-flex;
  column-gap: .75rem;
}

.footer__social-link {
  font-size: 1rem;
  color: var(--text-color);
  transition: .3s;
}

.footer__social-link:hover {
  transform: translateY(-.25rem);
}

.footer__cards {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.footer__card {
  width: 35px;
}

.footer__copy {
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  margin: 1rem 0 1rem;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  background-color: var(--first-color);
  right: 1rem;
  bottom: -30%;
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup__icon {
  font-size: 1rem;
  color: #FFF;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background: hsl(var(--hue), 4%, 53%);
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--hue), 4%, 29%);
  border-radius: .5rem;
}



/* BACKGROUND VIDEO SECTION */
.hero-section {
  height: 100vh;
  color: white;
  position: relative;
  /* background: url('/assets/img/homepage/snow1.jpeg') no-repeat center center/cover; */
}
/* .hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  pointer-events: none; 
} */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(75, 78, 84, 0.1);
  z-index: -1;
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-container {
  /* margin: 0 auto; */
  /* position: relative;
  z-index: 11; */
  height: 100vh;
  flex-direction: column;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  max-width: 875px;
}

.hero-section h1 {
  color: var(--container-color);
  /* position: absolute; */
  top: 40%;
  left: 5%;
}

.hero-section h1 span {
  color: var(--first-color);
}

.hero-section h4 {
  color: var(--container-color);
  /* position: absolute; */
  top: 70%;
  left: 5%;
  line-height: 1.2;
  letter-spacing: 1.1px;

}

/* work section */
.work-heading {
  font-size: var(--big-font-size);
  font-family: Gilroy-Bold, Helvetica, Arial, sans-serif;
  font-weight: var(--font-bold);
  text-align: center;
}

.work-subheading {
  font-size: 1.2rem;
}

.work-typing-text {
  font-size: 1rem;
}

.button-container {
  border-radius: 30px;
  background: #F3F6FB;
  padding: 0px 28px;
}

figure,
figure p.small,
figure h3 {
  color: var(--container-color);
}

figure h3+p {
  font-size: 0.8125rem;
}

figure footer p.small {
  font-weight: 400;
  margin-bottom: 0;
}

.work__card .bg_image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery {
  display: grid;
  list-style-type: none;
  padding: 0;
  margin: 0;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-auto-rows: 40rem;
  grid-auto-flow: dense;
}

figure {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

figcaption {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2rem;
}

figcaption main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2rem;
}

figure p {
  margin: 0;
}

figure footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

figure footer img {
  width: auto;
}

figure main,
figure footer {
  opacity: 0;
}

/* figure:hover figcaption {
			background: linear-gradient(180deg, rgba(21, 22, 24, 0.24) 0%, #151618 100%);
		} */

figure:hover main,
figure:hover footer {
  opacity: 1;
}


figcaption {
  z-index: 1;
}

figcaption::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 22, 24, 0.24) 0%, #151618 100%);
  z-index: -1;
  opacity: 0;
  transition-property: opacity;
}

figure:hover figcaption::before {
  opacity: 1;
}

figure a img {
  transform: scale(1.2);
  transition-property: transform;
}

figure {
  overflow: hidden;
}

figure a img:hover {
  transform: scale(1);
}

figure main {
  transform: translate3d(0, -6rem, 0);
  transition-property: opacity, transform;
}

figure footer {
  transform: translate3d(0, 6rem, 0);
  transition-property: opacity, transform;
}

figure:hover main,
figure:hover footer {
  transform: translate3d(0, 0, 0);
}

figure footer img {
  transform: translate3d(-3rem, 0, 0) rotate(360deg);
  opacity: 0;
  transition-delay: var(--def-transition-duration);
}

figure:hover footer img {
  transform: translate3d(0, 0, 0) rotate(0deg);
  opacity: 1;
}

figcaption::before,
figure img,
figure main,
figure footer {
  transition-duration: var(--def-transition-duration);
  transition-timing-function: ease-in-out;
}

/* WEBISTE LOADER */
.loader-container {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: var(--loader-bg);
  display: grid;
  place-content: center;
  opacity: 1;
  width: 100vw;
  height: 100vh;
  transition: opacity 3s ease-out;
}


.loader-container svg {
  width: 20rem;
  font-weight: 700;
}

.loader-container svg text {
  font-size: 5rem;
  stroke-width: 2;
  letter-spacing: 2px;
}

.loader-container svg text.text-body {
  stroke: var(--loader-text-color);
  animation: 4s infinite alternate animate-stroke;
}

@keyframes animate-stroke {
  0% {
    fill: transparent;
    stroke: var(--loader-text-color);
    stroke-width: 3;
    stroke-dashoffset: 25%;
    stroke-dasharray: 0 32%;
  }

  50% {
    fill: transparent;
    stroke: var(--loader-text-color);
    stroke-width: 3;
  }

  80%,
  100% {
    fill: var(--loader-text-color);
    stroke: transparent;
    stroke-width: 0;
    stroke-dashoffset: -25%;
    stroke-dasharray: 32% 0;
  }
}

/* HERO SECTION */
.hero-wrap {
  width: 100%;
  height: 850px;
  position: inherit;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

@media (max-width: 1199.98px) {
  .hero-wrap {
    background-position: center center !important;
  }

  #what_we_do .row,
  .hero-container .row,
  .steps__bg .row,
  .steps__bg .steps__container,
  #graphics-home-section {
    padding-left: 50px;
    padding-right: 50px;
  }
}

.hero-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  opacity: .3;
  background: #000000;
  height: 850px;
}

@media (max-width: 991.98px) {
  .hero-wrap {
    height: 1150px;
  }

  .hero-wrap .overlay {
    height: 1150px;
  }
}

.hero-wrap.hero-wrap-2 {
  height: 600px !important;
  position: relative;
}

.hero-wrap.hero-wrap-2 .overlay {
  width: 100%;
  opacity: .3;
  height: 600px;
}

.hero-wrap.hero-wrap-2 .slider-text {
  height: 490px !important;
  position: relative;
}

.hero__text {
  display: grid;
  align-items: end;
}

.hero__text h1 {
  color: var(--container-color);
  font-size: var(--big-font-size);
}

.section-title {
  position: relative;
  display: inline-block;
  color: var(--first-color-alt);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  right: -55px;
  margin-top: -1px;
  background: var(--text-color);
}

.brand-name {
  color: var(--first-color);
}


/* noise background and overlay */

.background-black {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #212121;
  background-size: cover;
  z-index: -1;
}

.background-noise {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('/assets/img/grain.png') repeat 0 0;
  background-repeat: repeat;
  animation: bg-animation .5s infinite;
  opacity: .2;
  visibility: visible;
}

.content {
  position: relative;
  z-index: 1;
  color: white;
}

@keyframes bg-animation {
  0% {
    transform: translate(0, 0)
  }

  10% {
    transform: translate(-5%, -5%)
  }

  20% {
    transform: translate(-10%, 5%)
  }

  30% {
    transform: translate(5%, -10%)
  }

  40% {
    transform: translate(-5%, 15%)
  }

  50% {
    transform: translate(-10%, 5%)
  }

  60% {
    transform: translate(15%, 0)
  }

  70% {
    transform: translate(0, 10%)
  }

  80% {
    transform: translate(-15%, 0)
  }

  90% {
    transform: translate(10%, 5%)
  }

  100% {
    transform: translate(5%, 0)
  }
}

/* contact page  */
/* contact form */
.contact-form .form-control,
.contact-form .form-control-lg {
  background-color: transparent;
  border-radius: 0 !important;
  border: none;
  border-bottom: 2px solid #fff;
  font-family: Gilroy-Bold,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 2.4rem;
  letter-spacing: -.25px;
  box-shadow: none;
  color: #fff;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

/* header */
header .brand-logo {
  position: absolute;
  top: 2rem;
  right: 2rem;
  border: none;
  background-color: transparent;
  color: inherit;
  font-size: 1.625rem;
  cursor: pointer;
  z-index: 10;
  color: white;
}

/* client logos */
#ClientLogos .clientlogo-image {
  display: block;
  height: 80px;
  width: 80%;
  margin: 50px 10%;
  filter: grayscale(1);
  transition: 0.5s ease;
}

#ClientLogos .clientlogo-image.big {
  height: 70px;
}

#ClientLogos .clientlogo-image:hover {
  filter: grayscale(0);
}

#ClientLogos .clientlogo-image .global-webImage__image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.global-webImage__image.ahadClient{
  padding:22px
}
.global-webImage__image.heevanClient{
  padding:15px
}

@media (min-width: 1200px) {
  #ClientLogos .clientlogo-image {
    margin: auto auto 50px;
  }

  #ClientLogos h2 {
    margin-bottom: 85px;
  }
}

@media screen and (min-width: 768px) {
  #ClientLogos .clientlogo-image {
    height: 100px;
  }

  #ClientLogos .clientlogo-image.big {
    height: 90px;
  }


  .hero-section h1 {
    top: 40%;

  }

  .hero-section h4 {
    top: 70%;
    left: 3%;
  }
}

/* client logos */

/* PROJECTS GALLERY */
.projects-gallery {
  padding: 2rem;
  min-height: 120vh;
}

.projects-gallery .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.projects-gallery .buttons button {
  margin: 0px 7px;
  padding: 0.7em 1.5em;
  font-size: 0.9em;
  border: none;
  color: #111;
  /* border: 2px solid #4a4a4a; */
  border-radius: 25px;
  cursor: pointer;
  background: transparent;
  /* transition: 0.3s; */
}

.projects-gallery .buttons .active {
  background: #D2D5DA;

}

.projects-gallery .buttons button:hover,
.projects-gallery .buttons .btn-clicked .projects-gallery .buttons .active {
  background: #D2D5DA;

}

/* .projects-gallery .images {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
}

.projects-gallery .images img {
  width: 25em;
  margin: 1em;
  border-radius: 0.2em;
  transition: 0.6s;
} */
.gallery-section {
  /* columns: 15rem 2;
  gap: 1rem; */
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

}

/* 
.gallery-section>div {
  padding: 10px !important;
} */

.gallery-section img,
.project-detail-reel {
  width: 100%;
  height: 100%;
  /* margin-bottom: 1rem; */
  border-radius: 30px;
  /* vertical-align: middle; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* .gallery-section div {
  margin-bottom: 1rem;
} */

.gallery-section img:hover {
  transform: scale(1.01);

}

.gallery-section .landscape {
  grid-column: span 2;
}

.gallery-section .portrait {
  grid-column: span 1;
}

/* CLASSES FOR JAVSCRIPT */
/* .projects-gallery .images .img-expand {
  width: 25em;
  margin: 1em;
}

.projects-gallery .images .img-shrink {
  width: 0em;
  margin: -1em;
} */

@media screen and (max-width:600px) {
  .projects-gallery .buttons {
    display: block;
  }

  #what_we_do .row,
  .hero-container .row,
  .steps__bg .row,
  .steps__bg .steps__container,
  #graphics-home-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .button-container {
    display: flex;
    flex-wrap: wrap;
  }

  .projects-gallery .buttons button {
    width: 45%;
    display: block;
    margin: 0.1em;
    padding: 0.7em 0.5em;
  }

  #what_we_do h2 {
    line-height: 1.2;
  }

  .gallery-section {
    columns: 11rem 2;
    gap: 0.5rem;
  }

  /* .gallery-section img {
    margin-bottom: 0.5rem;
  } */

  /* .projects-gallery .images .img-expand,
  .projects-gallery .images img {
    width: 100%;
  } */
}

@media screen and (max-width:439px) {
  .gallery-section {
    columns: 10rem 1;
  }
}

@media screen and (max-width:391px) {
  .gallery-section {
    columns: 9rem 1;
    gap: 0.5rem;
  }
}

@media screen and (max-width:359px) {
  .gallery-section {
    columns: 7rem 1;
  }
}

/* videos section */
.videos-section {
  display: flex;
  flex-wrap: wrap;
  /* width: 100%; */
  /* min-height: 100vh; */
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  color: var(--red-crayola);
  font-size: 32px;
  padding: 1px 12px;
  border-radius: 50%;
  opacity: 1;
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 1px #ffffff;
  }

  100% {
    box-shadow: 0 0 0 25px transparent;
  }
}

.videos-section .box {
  height: 640px;
}

.videos-section .box,
.gallery-section .box {
  position: relative;
  /* width: 50%; */
  /* height: 50vh; */
  filter: grayscale(1);
  /* border: 4px solid #000; */

}

.videos-section .box:hover,
.gallery-section .box:hover {
  filter: grayscale(0);
}

.box:hover .play-btn {
  opacity: 0;
}

.videos-section .box video,
.gallery-section .box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
  height: 98%;
  object-fit: cover;
}

.hero__title {

  font-size: 4rem;
  line-height: 1.2;
}

.hero__title span {
  font-family: Gilroy-UltraLight, Helvetica, Arial, sans-serif;
}

.hero__title strong {
  display: block;
}

.hero__subtitle {
  font-family: Gilroy-Bold, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .2px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__detail__subtitle {
  font-family: Gilroy-Regular, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: normal;
  line-height: 1.2rem;
}

.hero__detail {
  position: absolute;
  bottom: 10vh;
}

/* graphics section home */
#graphics-home-section ul {
  color: white;
  list-style: none;
  margin: 0;
  padding: 0;
}

#graphics-home-section .graphics-accordion {
  width: 100%;
  /* margin: 0 4rem; */
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.accordion--item p {
  margin: 0;
}

.accordion--item {
  background-repeat: no-repeat;
  background-position: center center;
  /* background-size: 200%; */
  background-size: cover;
  border-radius: 30px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30rem;
  flex: 0 0 8.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.date li:nth-child(1) {
  font-size: 1.125rem;
  margin-bottom: .5rem;
}

.date li:nth-child(2) {
  font-size: 0.8125rem;
}

.temp {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  padding-bottom: 10px;
}

.temp p {
  font-size: 2.1875rem;
  font-weight: 500;
}

.opened {
  /* background-size: 32rem; */
  background-size: cover;
  flex-basis: 30rem;
  cursor: auto;
}

.opened .arrow-icon {
  transform: rotate(0deg);
}

.opened .date li:nth-child(2) {
  color: rgba(255, 255, 255, 0.48);
}

.opened .temp {
  opacity: 1;
}

.opened.accordion--item {
  padding: 2rem;
}

.accordion--item {
  transition-property: flex-basis, background-size, padding;

}

.accordion--item:hover:not(.opened) {
  /* background-size: 32rem; */
  padding-block: 3rem;
}

.accordion--item:hover:not(.opened) .bottom-temp {
  transform: translate3d(0, -1rem, 0);
}

.bottom-temp {
  transition-property: transform, opacity;
}


.opened .bottom-temp {
  transform: translate3d(1, 2rem, 0);
}

.temp,
.readings {
  transition: opacity, transform;
}

.temp {
  transform: translate3d(0, -4rem, 0);
}

.date li:nth-child(2) {
  transition-property: color;
}

.accordion--item,
.bottom-temp,
.temp,
.readings,
.date li:nth-child(2) {
  transition-duration: .2s;
  transition-timing-function: ease-in-out;
}

/* new css */
.bottom-label {
  background-color: #fff;
  height: 40px;
  border-radius: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  color: #000;
}

.bottom-label h3 {
  margin: 0;
  font-size: 1rem;
}


.accordion--item {
  background-image: url(/assets/img/projects/Graphics/5.jpg);
  background-size: cover;
  background-position: center;
}

.arrow-icon {
  transition-property: transform;
  transform: rotate(330deg);
  transition-delay: .3s;
}

/* end of graphics section home */

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .home__img {
    width: 180px;
  }

  .hero-section h1 {
    font-size: var(--h1-font-size);
    left: 5%;
    top: 40%;
  }

  .steps__bg {
    /* padding: 2rem 1rem; */
  }

  .hero-section h4 {
    top: 70%;
    line-height: 1;
    letter-spacing: 1px;
    left: 3%;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .steps__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__subscribe {
    width: 400px;
  }

  .hero-section h1 {
    top: 40%;
  }

  .hero-section h4 {
    top: 60%;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }

  .home__container,
  .about__container,
  .questions__container,
  .contact__container,
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .home {
    padding: 10rem 0 5rem;
  }

  .home__container {
    align-items: center;
  }

  .home__img {
    width: 280px;
    order: 1;
  }

  .home__social {
    top: 30%;
  }

  .footer__container {
    column-gap: 3rem;
  }

  .footer__subscribe {
    width: initial;
  }
}

/* For large devices */
@media screen and (min-width: 992px) {

  .section__title,
  .section__title-center {
    font-size: var(--h1-font-size);
  }

  .hero-section h1 {
    top: 30%;
  }

  .hero-section h4 {
    top: 65%;
  }


  .home {
    padding: 13rem 0 5rem;
  }

  .home__img {
    width: 350px;
  }

  .home__description {
    padding-right: 7rem;
  }

  .about__img {
    width: 380px;
  }

  .steps__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps__bg {
    /* padding: 3.5rem 2.5rem; */
  }

  .footer__logo {
    font-size: var(--h3-font-size);
  }

  .footer__container {
    grid-template-columns: 1fr 1fr 1fr;
  }

}

@media screen and (min-width: 1200px) {
  .home__social {
    right: -3rem;
    row-gap: 4.5rem;
  }

  .home__social-follow {
    font-size: var(--small-font-size);
  }

  .home__social-follow::after {
    width: 1.5rem;
    right: -60%;
  }

  .home__social-link {
    font-size: 1.15rem;
  }

  .about__container {
    column-gap: 7rem;
  }

  .scrollup {
    right: 3rem;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 2.8rem;
  }

  .gallery-section {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for mobile */
  }

  .gallery-section img,
  .project-detail-reel {
    border-radius: 15px;
  }

  .gallery-section .landscape {
    grid-column: span 2;
    /* Landscape images span 1 column on mobile */
  }

  #what_we_do h2 {
    font-size: 1.5rem;
  }

  .accordion__title {
    font-size: .9rem;
  }

  .footer .footer__content {
    text-align: left !important;
  }

  .graphics-accordion {
    flex-direction: column;
    /* margin: 0.5rem !important; */
  }

  .accordion--item {
    flex: 0 0 6rem;
    height: 3rem !important;
    min-height: 3rem;
  }

  .opened {
    flex: 0 0 32rem;
  }
  .global-webImage__image.ahadClient{
  padding:10px
}
.global-webImage__image.heevanClient{
  padding:5px
}
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-section {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for tablets */
  }

  .gallery-section .landscape {
    grid-column: span 2;
    /* Landscape images span 2 columns on tablets */
  }
}

.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

.modal-body {
  position: relative;
  padding: 0px;
}

.btn-close {
  position: absolute;
  right: -30px;
  top: 0;
}

.video-btn {
  width: 100%;
  height: 100%;
  opacity: 0;
}