  /* Heading text section */
.hero {
  width: 100%;
  position: relative;
  padding-block: 1rem;
  overflow: hidden;
}

.background__image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -10;
  top: 0;
  opacity: 0.5;
  background: url(../../assets/white-tech-bg2.jpg) no-repeat center/cover;
}

  .hero__section {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    height: fit-content;
  }

  .hero__sub-section1 {
    color: var(--black-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    gap: 1rem;
  }

  .hero__section-h1 span{
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    color: #066bc6;
  }
  
  .hero__section-p{
    font-size: clamp(1.125rem, 1vw, 1.175rem);
    color: var(--primary-color);
  }

  /* Images section */
  .hero__sub-section2 {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 40%);
    padding-block: 0.5rem;
  }

  .hero__sub-section-container {
    position: relative;
    /* background: var(--black-color); */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(10, 47, 94, 0.4);
  }

  .hero__sub-section-images {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 1s ease-in-out;
  }

  .hero__sub-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0, 0, 0, 0.8), transparent, transparent, transparent);
  }

  .hero__sub-section-p {
    color: var(--white-color);
    z-index: 3;
    position: absolute;
    bottom: 0;
    padding: 0.5rem 1rem;
    font-size: clamp(0.875rem, 1.125vw, 1.175rem);
    font-weight: 600;
    text-transform: capitalize;
    opacity: 1;
    transition: opacity 1s ease-in-out;
  }

  #div3, #div6 {
    display: none;
  }

/* 
.fade-in {
  opacity: 0.5 !important;
} */

.card__loader-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: rgba(180, 180, 180, 0.4);
  overflow: hidden;
  z-index: 50;
}

/* .card__loader-animated {
  position: absolute;
  height: 100%;
  width: 40%;
  left: -40%;
  background: linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
  animation: loading 1s infinite;
  z-index: 55;
} */


@keyframes loading {
  0%{
    left: -45%;
  }
  100%{
    left: 100%;
  }
}

/* Countdown timer */
.timer__section {
  width: 100vw;
  height: 3rem;
  margin: 0.5rem auto;
  background: var(--primary-color);
  box-shadow: 4px 1px 10px rgba(10, 47, 94, 0.4);
}

.timer__section-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--white-color);
  align-items: center;
  justify-content: center;
}

.timer__section-items {
  display: flex;
  gap: 1rem;
}

.timer__section-items div{
  display: flex;
}

.timer__section-items div p{
  width: 1.3rem;
}

/* Tablets */
@media (min-width: 768px){

  /* Hero -section */

  .hero__section-h1,
  .hero__section-h1 span{
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  
  .hero__section-p{
    padding-inline: 10rem;
    font-size: clamp(1.5rem, 1vw, 1.175rem);
  }

  /* countdown timer */
  .timer__section {
    width: 80vw;
  }

  .timer__section-container {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* laptops */
@media (min-width: 1000px){

  /* Heading text section */
  .hero__section {
    height: fit-content;
    gap: 2rem;
    grid-template-columns: 1fr 1.25fr;
  }

  
  .hero__section-p{
    padding-inline: 0;
  }

  .hero__sub-section1 {
    padding: 5rem 0;
    align-items: start;
    text-align: left;
  }

  /* Images section */
 
  .hero__sub-section2 {
    grid-template-rows: repeat(2, 50%);
  }

  .hero__sub-section-p {
    font-size: clamp(1.125rem, 1vw, 1.175rem);
  }

 

  /* Countdown timer section */
  .timer__section {
    width: 60vw;
  }
}

/* Big screens */
@media (min-width: 1200px){
  #div3, #div6 {
    display: block;
  }

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

/* 4k screens */
@media (min-width: 2560px){

}