/* Css reset */
* {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

button {
  -webkit-appearance: none;
  border-radius: 0;
  text-align: inherit;
  background: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  border: none;
  color: inherit;
  font: inherit;
  border-radius: 54px !important;
}

.custom-btn {
  background: white;
  color: black;
  padding: 1rem 3rem;
  border: 1px solid white;
  border-radius: 54px;
  display: inline-block;
  margin-top: 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

/* =========================================================================================================== */
/* Hero section background  */
.hero-section-wrapper {
  height: 100vh;
  background: url(https://cdn.gitaa.in/img/pages/home/hero-blur.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section {
  height: 100%;
  text-align: center;
}

.hero-section h1.mainHeading {
  font-size: 7rem;
  width: 90%;
}

h2.intro {
  font-size: 3em;
  width: 90%;
}

.hero-text-gradient {
  background: linear-gradient(89.9deg, #7a1aff 33.33%, #dc00b0 81.09%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro span {
  background: -webkit-linear-gradient(1turn, #2d21c3, #9041ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro span:first-child {
  background: -webkit-linear-gradient(1turn, #9041ff, #2d21c3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* carousel css */
/* =========================================================================================================== */

.carousel-wrapper {
  position: relative;
  width: 75%;
  height: 70vh;
  max-height: 905px;
  min-height: 650px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-image {
  flex: 0 0 60%;
  height: 100%;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: bottom !important;
}
.first-carousel-caption {
  top: 15%;
}

.arrow {
  position: absolute;
  bottom: -80%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  height: 20px;
  width: 20px;
  padding: 20px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.arrow img {
  font-weight: bolder;
}

.arrow.left {
  left: 15%;
}

.arrow.right {
  right: 67%;
}

.carousel-control-next-icon {
  background-image: url(https://cdn.gitaa.in/img/icons/chevron-right.svg);
}
.carousel-control-prev-icon {
  background-image: url(https://cdn.gitaa.in/img/icons/chevron-left.svg);
}

/* small screen carousel */
#carousel-section {
  padding-top: 5rem;
}

/* know more */
.know-more {
  height: 75vh;
  position: relative;
}

.carousel-caption h5 p {
  margin-block: 1rem;
}

.scroll-to-bottom-btn {
  border: 2px solid black;
  padding: 0.5rem;
  bottom: 5rem;
  border-radius: 50%;
  color: black;
  transition: all 500ms ease;
  animation: scrolling 3s linear infinite;
}

.scroll-to-bottom-btn:hover {
  background: #000;
  color: white;
}

@keyframes scrolling {
  0% {
    transform: translateY(-20px);
  }
  25% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(-20px);
  }
}

/* Media queries */
/* =================================================================== */
/* large screen devices */
@media screen and (min-width: 2000px) {
  .hero-section h1 {
    width: 80%;
  }
}

@media screen and (max-width: 2050px) {
  .hero-section h1 {
    font-size: 7rem;
  }
}

@media screen and (max-width: 1920px) {
  .arrow.right {
    right: 60%;
  }
}

@media screen and (max-width: 1800px) {
  .hero-section h1.mainHeading {
    font-size: 5.5rem;
  }
  h2.intro {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1670px) {
  .arrow {
    bottom: -50%;
  }
}

@media screen and (max-width: 1670px) and (min-width: 1400px) {
  .custom-btn {
    margin-top: 0;
  }
  .first-carousel-caption {
    top: 10% !important;
  }
}

@media screen and (max-width: 1400px) {
  h2.intro {
    width: 90% !important;
    font-size: 2rem;
  }

  .static {
    width: 80% !important;
    margin-block: 1rem;
  }

  .h-70 {
    height: 70vh;
  }

  .carousel-caption2 {
    height: 100%;
    width: 100%;
    top: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-caption2.carousel-caption-first div {
    margin-bottom: 120px;
  }

  .carousel-caption2 div {
    position: relative;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
  }
}

/* media queries for tablets */
@media screen and (max-width: 1200px) {
  .hero-section h1 {
    width: 90%;
  }
}

/* All devices smaller than 950px */
@media screen and (max-width: 950px) {
  .hero-section h1.mainHeading {
    font-size: 5rem;
  }
  h2.intro {
    font-size: 1.5rem;
  }
  .static {
    width: 90% !important;
    margin-block: 2rem;
  }
  #carouselExample,
  .carousel-inner,
  .carousel-item {
    width: 100%;
    min-height: 300px;
  }

  .carousel-item img {
    min-height: 300px;
  }

  .carousel-caption h5,
  .carousel-caption p {
    margin-block: 0.5rem;
  }
  .custom-btn {
    padding: 0.5rem 1.5rem;
    margin-top: 0.5rem;
  }
}

/* Tablets in landscape mode */
@media screen and (orientation: landscape) and (max-width: 950px) and (max-height: 610px) {
  .hero-section h1.mainHeading {
    font-size: 4rem;
  }
  h2.intro {
    font-size: 1.2rem;
  }
  .scroll-to-bottom-btn {
    bottom: 2rem;
  }
}

/* Big tablets */
@media screen and (orientation: landscape) and (max-width: 1281px) and (max-height: 1181px) and (min-height: 610px) {
  .hero-section h1.mainHeading {
    font-size: 5rem;
  }
  h2.intro {
    font-size: 1.2rem;
  }
  .scroll-to-bottom-btn {
    bottom: 2rem;
  }
}

@media screen and (max-width: 600px) {
  .carousel-caption2.carousel-caption-first div {
    margin-bottom: 180px;
  }
  .scroll-to-bottom-btn {
    bottom: 6rem !important;
  }
  #carousel-section {
    padding-top: 4rem;
  }
}

@media screen and (max-width: 490px) {
  .hero-section h1.mainHeading {
    font-size: 3.5rem;
    line-height: 1.1;
  }
  h2.intro {
    font-size: 1.3rem;
  }
  .carousel-item img {
    transform: scale(1.07);
  }
  .carousel-caption2 div {
    width: 75%;
  }
  .carousel-caption2.carousel-caption-first div {
    margin-bottom: 120px;
  }

  .carousel-caption2 h4,
  .carousel-caption2 p {
    font-size: 18px !important;
    margin-bottom: 0.2rem !important;
  }

  .carousel-caption2 h5 {
    font-size: 23px !important;
    margin-bottom: 0.2rem !important;
  }

  .custom-btn {
    padding: 0.3rem 1rem;
    margin-top: 0.5rem;
  }
}

@media screen and (max-width: 400px) {
  .carousel-caption2 h4,
  .carousel-caption2 p {
    margin-bottom: 0 !important;
  }
}
