@font-face {
  font-family: AeoniK Regular;
  src: url(font/AEONIKTRIAL-REGULAR.OTF);
}
@font-face {
  font-family: AeoniK;
  src: url(font/AEONIKTRIAL-BOLD.OTF);
}
@font-face {
  font-family: AeoniK Italic;
  src: url(font/AEONIKTRIAL-REGULARITALIC.OTF);
}

:root {
  --primary-color: #4361ee;
  --heading-font: Aeonik, sans-serif;
  --para-font: Aeonik Regular, sans-serif;
  --button-border-radius: 50px;
  --light-background-color: rgba(67, 97, 238, 0.1);
  --section-divider-shape: 250px;
  --section-padding: 100px 0;
  --color-background-padding: 80px 0;
  --box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* Global styling Part */

main {
  overflow-x: hidden;
}

h1 {
  font-size: 2.7rem;
  font-family: var(--heading-font);
  color: black;
}

h2 {
  font-size: 2.5rem;
  font-family: var(--heading-font);
  color: black;
}

h3 {
  font-size: 2.5rem;
  font-family: var(--heading-font);
  color: black;
}

h4 {
  font-size: 2rem;
  font-family: var(--heading-font);
  color: black;
}

h5 {
  font-size: 1.5rem;
  font-family: var(--heading-font);
  color: black;
}

h6 {
  font-size: 1rem;
  font-family: var(--heading-font);
  color: black;
}

p {
  font-size: 1.188rem;
  font-family: var(--para-font);
  color: black;
  opacity: 0.8;
}
p.white {
  font-size: 1.188rem;
  font-family: var(--para-font);
  color: #fff;
  opacity: 0.8;
}
.section {
  padding: var(--section-padding);
}
.color-background-section {
  padding: var(--color-background-padding);
}
.button-primary,
.second-styling {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading-font);
  font-size: 1rem;
  padding: 1rem 2.5rem;
  text-decoration: none;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: var(--button-border-radius);
  position: relative;
  transition: all 0.2s ease-out;
}

.button-primary::after {
  content: "";
  background-image: url("images/next-icon.svg");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: all 0.2s ease-out;
}

.button-primary:hover::after,
.second-styling:hover::after {
  rotate: -45deg;
}

.button-primary:hover,
.second-styling:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 0 0 #000;
}

.second-styling {
  background-color: #fff;
  color: #000;
}
.second-styling::after {
  content: "";
  background-image: url("images/next-icon-black.svg");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: all 0.2s ease-out;
}

.spacial-text {
  position: relative;
}
.spacial-text::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 10%;
  top: 70%;
  z-index: -1;
  background-image: url("images/text-highlight.svg");
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.custom-divider {
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}
.experience,
.project,
.clients {
  box-shadow: var(--box-shadow);
  padding: 40px 0;
  border-radius: 15px;
}
.experience > p,
.project > p,
.clients > p {
  margin-bottom: 0;
  line-height: 0.6;
  font-size: 3.5rem;
  font-family: var(--heading-font);
  color: var(--primary-color);
  opacity: 1;
}

.experience > p > span,
.project > p > span,
.clients > p > span {
  font-size: 1.2rem;
  line-height: 0;
  color: #000;
  font-family: var(--para-font);
}
.hlighlighs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.hlighlighs > div {
  min-width: 280px;
}

#learn-button {
  display: inline-block;
  font-family: var(--para-font);
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

#learn-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1%;
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all ease 0.6s;
}
#learn-button:hover::after {
  width: 0%;
}
#learn-button.black {
  color: #000;
}
#learn-button.black::after {
  background-color: #000;
}

/* Home styling code here */
.main-hero-section {
  background-color: var(--light-background-color);
  border-radius: 0 0 0 var(--section-divider-shape);
  z-index: -10;
  display: grid;
  align-items: end;
  /* padding: 50px; */
}

.hero-man-image {
  max-width: 100%;
  height: 100%;
  z-index: 3;
  display: block;
}

.hero-message-vector {
  max-width: 100%;
  max-height: 100px;
  z-index: -1;
  display: block;
  position: absolute;
  top: 5%;
  right: 5%;
}

.hero-chart-vector {
  max-width: 100%;
  max-height: 200px;
  z-index: -1;
  display: block;
  position: absolute;
  top: 38%;
  left: 17%;
}
.services-section {
  background-color: var(--primary-color);
  border-radius: 0 var(--section-divider-shape) 0 0;
}
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 60px 10rem;
}
.service-item > h4 {
  color: white;
  font-family: var(--para-font);
}
.service-item > p {
  color: white;
  line-height: 1.3;
}
.service-item > svg {
  width: 50px;
  max-height: 50px;
  margin-bottom: 30px;
}
.features-cards {
  margin-top: 60px;
  display: grid;
  row-gap: 5rem;
}
.feature-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  align-items: center;
  justify-content: space-between;
  gap: 2rem 7rem;
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feature-img img {
  width: 100%;
  height: 100%;
}
.row-reverse {
  direction: rtl;
}
.row-reverse .feature-content {
  direction: ltr;
}
.feature-content > h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}
.choose-us-section {
  background-color: var(--light-background-color);
  border-radius: var(--section-divider-shape) 0 0 0;
}
.choose-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 2rem 4rem;
  margin-top: 60px;
}
.choose-card h4 {
  font-size: 1.8rem;
  margin: 25px 0 10px 0;
  font-family: var(--para-font);
  color: var(--primary-color);
}
.choose-card svg {
  width: 40px;
  height: 40px;
}
.our-clients-logo {
  display: grid;
  row-gap: 20px;
  margin-left: 30px;
}
.logo-first-row,
.logo-second-row,
.logo-third-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  column-gap: 20px;
}
.logo-first-row div,
.logo-second-row div,
.logo-third-row div {
  background-color: white;
  box-shadow: var(--box-shadow);
  min-width: 250px;
  height: 100px;
  border-radius: 15px;
  padding: 30px;
  z-index: -1;
}
.logo-first-row div img,
.logo-second-row div img,
.logo-third-row div img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}
.logo-second-row div {
  padding: 20px;
}
.logo-second-row {
  margin-left: 300px;
}

.logo-first-row div:nth-child(1) img {
  width: 160px;
}
.logo-first-row div:nth-child(2) img {
  width: 80px;
}
.logo-first-row div:nth-child(3) img {
  width: 100px;
}
.logo-first-row div:nth-child(4) img {
  width: 100px;
}
.logo-first-row div:nth-child(5) img {
  width: 130px;
}
.logo-second-row div:nth-child(1) img {
  width: 80px;
}
.logo-second-row div:nth-child(2) img {
  width: 200px;
}
.logo-second-row div:nth-child(3) img {
  width: 140px;
}
.logo-second-row div:nth-child(4) img {
  width: 120px;
}
.logo-third-row div:nth-child(1) img {
  width: 130px;
}
.logo-third-row div:nth-child(2) img {
  width: 180px;
}
.logo-third-row div:nth-child(3) img {
  width: 170px;
}
.logo-third-row div:nth-child(4) img {
  width: 150px;
}
.logo-third-row div:nth-child(5) img {
  width: 90px;
}
.trusted-by-content {
  background-color: #fff;
  padding: 100px 0;
  min-height: 100%;
  position: relative;
  z-index: 5;
}
.case-studies-item,
.case-studies-dark-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 50px;
  align-items: center;
  width: 100%;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--light-background-color);
}
.case-studies-image,
.case-studies-dark-image {
  width: 100%;
  height: 100%;
}
.case-studies-image img,
.case-studies-dark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-studies-content {
  padding-right: 50px;
}
.case-studies-content img {
  width: 180px;
  height: 100%;
}
.case-studies-dark-item {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 30px;
  background-color: var(--primary-color);
}
.case-studies-dark-content img {
  width: 100px;
  height: 100%;
  filter: brightness(100);
}
.case-studies-dark-content p {
  color: #fff;
}
.case-studies-dark-content {
  padding-right: 30px;
}
.testimonial-section {
  background-color: var(--primary-color);
  border-radius: 0 var(--section-divider-shape) 0 0;
}
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
}
.testimonial-card {
  background-color: #fff;
  padding: 50px;
  text-align: center;
  border-radius: 25px;
}
.testimonial-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial-card .name-and-post {
  font-size: 2rem;
  font-family: var(--heading-font);
  margin-top: 20px;
  line-height: 0.9;
}
.testimonial-card .name-and-post span {
  font-size: 1.2rem;
  font-family: var(--para-font);
  margin-top: 20px;
  font-style: italic;
  color: var(--primary-color);
}
.testimonial-card .client-feedback {
  font-size: 1.3rem;
  margin-bottom: 0;
  color: #000;
  margin-top: 20px;
}
.testimonial-cards-slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  column-gap: 20px;
  margin-top: 40px;
}
.testimonial-cards-slider-arrow .previous-arrow,
.next-arrow {
  background-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: relative;
  cursor: pointer;
}

.testimonial-cards-slider-arrow .previous-arrow svg,
.next-arrow svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.testimonial-cards-slider-arrow .previous-arrow {
  rotate: 180deg;
}
.testimonial-cards-slider-arrow .previous-arrow:hover svg path,
.next-arrow:hover svg path {
  fill: var(--primary-color);
}
.blog-post-crads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
}
.blog-post-card {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  padding: 30px;
  border-radius: 15px;
}
.blog-post-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 15px;
}
.blog-post-card h4 {
  margin: 30px 0 10px 0;
}
.blog-post-card a {
  margin-top: 10px;
}

.showreel {
  border: 3px solid blue;
}

/* carousel */
.our-clients-logo {
  overflow: hidden;
}

.logo-container {
  display: flex;
  animation: scroll 45s linear infinite;
  gap: 150px;
}

.logo-container div {
  flex: 0 0 auto;
  margin-right: 20px; /* Adjust as needed */
}
.logo-container img {
  max-height: 80px; /* Set the maximum height for the images */
  width: auto;
}
.logo-container div:last-child {
  margin-right: 0;
}
.specialstyle {
  margin-left: 100px;
  margin-top: 50px;
  flex-direction: row-reverse;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 50px)); /* Adjust margin-right */
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 20px;
    --section-divider-shape: 75px;
    --color-background-padding: 60px 20px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2,
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.5rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 0.5rem;
  }
  .heredescription {
    font-size: 1.2rem;
  }

  .hlighlighs {
    grid-template-columns: 1fr 1fr;
    gap: 50px 20px;
  }
  .experience,
  .project,
  .clients {
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .hlighlighs > div {
    min-width: 100%;
  }
  .feature-card {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .features-cards {
    margin-top: 30px;
    row-gap: 2rem;
  }
  .hero-message-vector {
    max-height: 75px;
  }
  .hero-chart-vector {
    max-height: 150px;
  }
  .main-hero-section {
    padding: 0 20px;
  }
  .logo-container img {
    max-height: 80px; /* Set the maximum height for the images */
    width: auto;
  }
}
/* Desktop Menu Styles */
