@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap");
:root {
  --typing-font-size: 30px;
  --button-font-size: 40px;

  --primary-color: #0731d1;
  --secondary-color: #ff6600;
  --text-color: #000000;
  --background-color: #ffffff;
  --light-text: #ffffff;
  --link-color: #0731d1;
  --section-padding: 5rem;
}

section {
  padding: var(--section-padding) 0;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: "Barlow", sans-serif;
}

#info-section h2 {
  font-family: "Barlow", sans-serif;
  font-size: 60px;
  color: var(--text-color);
  margin: 0;
  padding: 50px;
}

#info-section p {
  font-family: "Barlow", sans-serif;
  font-size: 20px;
  color: var(--text-color);
  margin: 0;
  padding: 50px;
}

#info-section img {
  position: relative;
  top: -35vh;
  object-fit: cover;
  width: 100%;
}

.cta .cta-button {
  display: inline-block;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  width: fit-content;
  left: 50%;
}

html,
body {
  scroll-behavior: smooth;
  font-family: "Barlow", sans-serif;
  cursor: crosshair; /* Custom cursor */
  text-align: center;
  align-content: center;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  overflow-x: hidden; /* Restrict horizontal scrolling */
}

.big-title {
  font-size: 50px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.24);
}

.small-title {
  font-size: large;
}

@media screen and (max-width: 1400px) {
  .big-title {
    font-size: 50px;
  }
}
@media screen and (max-width: 1260px) {
  .big-title {
    font-size: 50px;
    letter-spacing: -2px;
  }
}
@media screen and (max-width: 560px) {
  .big-title {
    font-size: 36px;
    margin-bottom: 12px;
  }
}

.wrapper {
  height: 100vh;
  width: 110vw;
  left: -5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-title {
  text-align: justify;
  position: absolute;
  bottom: 45%;
  font-size: 10rem;
  font-weight: 900;
  color: var(--light-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid var(--light-text);
  animation: blink-caret 0.7s step-end infinite;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--light-text);
  }
}

.hero-title-small {
  text-align: justify;
  position: absolute;
  bottom: 35%;
  font-size: 5rem;
  font-weight: 900;
  color: var(--light-text);
  margin: 0;
}

.hero-title-button {
  text-align: justify;
  position: absolute;
  bottom: 20%;
  font-size: 1rem;
  font-weight: 900;
  color: var(--light-text);
  margin: 0;
  border: 2px solid var(--light-text);
  border-radius: 100px;
  padding: 1rem 2rem;
}

.hero-title-button:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  cursor: none;
  transition: 0.3s ease, color 0.3s ease;
}

#slideshow {
  margin-top: -300px;
  height: 150vh;
  position: relative;
  width: 120%;
  height: 150%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 12s infinite;
  filter: brightness(0.8) opacity(0.8);
}

@keyframes fade {
  0%,
  100% {
    opacity: 0;
  }
  33%,
  66% {
    opacity: 1;
  }
}

#stats-section {
  height: auto;
  display: flex;
  width: 100%;
  justify-content: space-around;
  padding: 50px 0;
  background-color: #fff;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  position: relative;
}

.stat-item {
  text-align: center;
}

.stat-item h2 {
  font-size: 60px;
  font-weight: bold;
  margin: 0;
  font-family: "Barlow", sans-serif;
}

.stat-item p {
  font-size: 18px;
  font-family: "Barlow", sans-serif;
}

#logo-grid-section {
  padding: 50px 0;
  background-color: #f9f9f9;
  text-align: center;
}

#testimonials-logos-section {
  background-color: #f9f9f9;
  padding: 4rem 0 2rem 0;
  text-align: center;
}
#testimonials-logos-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #0731d1;
}
.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.testimonial {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  max-width: 350px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  font-size: 1.1rem;
  color: #222;
  font-style: italic;
  position: relative;
}
.testimonial footer {
  font-size: 1rem;
  color: #0731d1;
  font-style: normal;
  margin-top: 1rem;
}
#testimonials-logos-section h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: #222;
}
#testimonials-logos-section .logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: #f9f9f9;
  padding: 1rem 0 2rem 0;
}
#testimonials-logos-section .logo-track {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#testimonials-logos-section .logo-track img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1);
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem;
  transition: filter 0.3s;
}
#testimonials-logos-section .logo-track img:hover {
  filter: grayscale(0%) contrast(1.2);
}

@media screen and (max-width: 900px) {
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
  #testimonials-logos-section .logo-track {
    gap: 1rem;
  }
  #testimonials-logos-section .logo-track img {
    width: 80px;
  }
}

#logo-grid-section h2 {
  font-size: 30px;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: #f9f9f9;
  padding: 2rem 0;
}

.logo-track {
  display: flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
}

.logo-track img {
  width: 250px;
  height: auto;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#services {
  padding: 2rem 0;
  background-color: #fff;
  text-align: center;
}

#services h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.horizontal-carousel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  padding: 1rem 10rem;
}

.carousel-item {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background-color: var(--secondary-color);
  border: #000 solid 1px;*/
  box-shadow: 0px 0px 20px 10px rgba(228, 228, 228, 0.63);
  border-radius: 10px;
  padding: 3rem;
  color: var(--text-color);
  text-align: left;
  width: 95%;
  transition: transform 0.3s ease, height 0.3s ease, width 0.3s ease;
}

.carousel-item:hover {
  transform: scale(1.1);
  height: 120%;
  width: 100%;
  margin-left: -50px;
}

.carousel-item h2 {
  font-size: 50px; /* Custom font size for the first item's heading */
  /* Underline for the first item's heading */
}

.carousel-item a {
  font-size: 50px; /* Custom font size for the first item's link */
}

.carousel-item p {
  font-size: 20px; /* Custom font size for the first item's paragraph */
}

.carousel-item img {
  width: 300px;
  height: auto;
  margin-right: 10rem;
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    bottom: 60%;
    white-space: normal; /* Allow text to wrap */
    text-align: center; /* Center align text */
  }
  .hero-title-small {
    font-size: 2rem;
    bottom: 40%;
    white-space: normal; /* Allow text to wrap */
    text-align: center; /* Center align text */
  }

  .stat-item h2 {
    font-size: 4rem;
  }

  .stat-item p {
    font-size: 1rem;
  }

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

  .logo-track img {
    width: 80px;
  }

  .carousel-item {
    width: 150px;
  }

  .carousel-item img {
    width: 60px;
  }

  .flex-container {
    visibility: hidden;
  }
}

@media screen and (max-width: 768px) {
  .logo-track img {
    width: 100px;
  }

  .carousel-item {
    width: 200px;
  }

  .carousel-item img {
    width: 80px;
  }

  .wrapper {
    height: auto;
    padding: 1rem;
  }

  .hero-title {
    font-size: 5rem;
    bottom: 60%;
    white-space: normal; /* Allow text to wrap */
    text-align: center; /* Center align text */
  }

  .hero-title-small {
    font-size: 3rem;
    bottom: 40%;
    white-space: normal; /* Allow text to wrap */
    text-align: center; /* Center align text */
  }

  #stats-section {
    flex-direction: column;
    padding: 1rem;
  }

  .stat-item {
    margin-bottom: 1rem;
  }

  #logo-grid-section {
    padding: 1rem;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #slideshow {
    margin-top: -100px; /* Adjust margin for smaller screens */
    height: 100vh; /* Ensure slideshow fits the screen */
    width: 100%; /* Adjust width for smaller screens */
  }

  #slideshow .slide {
    object-fit: cover; /* Ensure images fit properly */
    opacity: 1; /* Make slides visible */
    animation: fade 12s infinite; /* Retain animation */
  }

  #services {
    padding: 2rem 0; /* Adjust padding for smaller screens */
  }

  .horizontal-carousel {
    flex-direction: column; /* Stack items vertically */
    gap: 1rem; /* Reduce gap between items */
    padding: 2rem; /* Adjust padding */
  }

  .carousel-item {
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center align content */
    text-align: center; /* Center align text */
    padding: 1.5rem; /* Adjust padding */
    width: 100%; /* Full width for smaller screens */
  }

  .carousel-item img {
    width: 100px; /* Adjust image size */
    margin: 1rem 0; /* Add margin around images */
  }

  .carousel-item h2 {
    font-size: 1.5rem; /* Adjust heading size */
  }

  .carousel-item p {
    font-size: 1rem; /* Adjust paragraph size */
  }
}

#grid-section {
  padding: 2rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.grid-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

.grid-item p {
  padding: 1rem;
  font-size: 1rem;
  color: #333;
}

#new-section {
  background-color: #000;
  padding: 5rem;
  text-align: left;
  font-family: "Barlow", sans-serif;
  color: #fff;
}

#new-section p {
  font-size: 1rem;
  font-weight: 400;
}

#new-section h2 {
  font-size: 4rem;
  font-weight: 700;
}

#new-section a {
  display: inline-block;
  background-color: #0731d1;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
}

#new-section .simple {
  display: block;
  background-color: transparent;
  color: #fff;
  padding: 0;
  text-decoration: none;
  font-weight: 500;
}

#new-section .flex-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 0;
}

#new-section .flex-container > div {
  flex: 1;
}

#new-section input[type="email"] {
  padding: 0.5rem;
  width: 80%;
  border: none;
  border-radius: 5px;
  max-width: 320px;
  font-size: 1rem;
  margin-right: 0.5rem;
  box-sizing: border-box;
}

.newsletter-signup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.newsletter-signup input[type="email"] {
  flex: 1 1 220px;
}
.newsletter-signup button {
  padding: 0.5rem 1.2rem;
  background-color: #0731d1;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-signup button:hover {
  background-color: #02206b;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#new-section button {
  padding: 0.5rem 1rem;
  background-color: #0731d1;
  color: #fff;
  border: none;
  border-radius: 5px;
  margin-left: 0.5rem;
}
