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

:root {
  --primary-color: #0911e6;
}

html,
body {
  font-family: 'Roboto Slab';
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}

img {
  max-width: 100%; /* 100% of container */
}

/* ---------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 1.6rem 2.6rem;
  border: 1px solid color(srgb 255 255 255);
  border-radius: 32px;
  background-color: orange;
  color: #fff;
  border-radius: 15px 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background: #3ba1e0;
  color: #fff;
  border-color: #fff;
}

.section {
  margin: 4rem 0;
}

.section-header {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.3rem;
}

.heading-border {
  width: 64px;
  height: 4px;
  background: #3ba1e0;
  margin: 0 auto 2rem;
}
/* --------------------------------------------------------------------------- */

/* Navbar */
.navbar {
  background: black;
  background-color: rgba(53, 114, 207, 0.2);
  color: #ffff;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease-in-out;
}

.navbar.navbar-scroll {
  background-color: rgba(1, 113, 163, 0.9);
}
.navbar.navbar-scroll {
  background-color: #ffffffeb;
}

.navbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar img {
  width: 130px;
  height: 80px;
}

.navbar .main-menu-list {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-weight: 400;
  font-size: 1.2rem;
}

.navbar a {
  color: #fff;
}
.navbar.navbar-scroll a {
  color: black;
}

.navbar a:hover {
  color: #3ba1e0;
}

/* Mobile-Menu */
.mobile-menu {
  display: none;
}

.navbar .mobile-menu-toggle {
  color: #fff;
  color: #000;
  cursor: pointer;
}

.navbar .mobile-menu-items {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(53, 114, 207, 0.9);
  opacity: 0.95;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.navbar .mobile-menu-items.active {
  transform: translateX(0);
}

.navbar .mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.2rem;
}

/* Hero */

/* .hero {
  background: #000
    url(../images/worldwide-connection-blue-background-illustration-vector_53876-76824.jpg)
    center center/cover no-repeat;
  padding: 13.5rem 2rem 8rem;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 300;
  display: inline-block;
  width: 80%;
}

.hero .frame-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
} */

/* ---------------------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 13.5rem 2rem;
  color: #fff;
  overflow-x: hidden;
}

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

/* darken the video */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
  z-index: -1;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 450;
  display: inline-block;
  width: 80%;
}

.hero .frame-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

/* logo gallery slider */

.logo-gallery {
  padding: 6rem 2rem 1rem;
  text-align: center;
  overflow: hidden; /* Hide Overflow */
}

.logo-gallery-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hide Overflow */
}

.logo-gallery-track {
  display: flex;
  animation: scroll 10s linear infinite; /* Add animation */
}

.logo-card {
  padding: 0 3rem;
}

.logo-image img {
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.5rem;
}

.logo-card-content h3 {
  font-weight: 200;
  color: #000;
}

/* About */
.about-container {
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  padding: 2rem 2rem 4rem; /* Add padding if needed */
}

.about-content {
  background-color: white;
  color: #000;
  flex: 1;
  padding: 4rem;

  flex: 2;
}

.about-content h2 {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00668c;
}

.about-left {
  width: 50%;

  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Services */
/* .services {
   background: #000 url(../images/download-background.jpg) center center/cover
    no-repeat;
} */

.services {
  padding: 6rem 0;
  margin-bottom: 4rem;
  background: #000
    url(../images/background-realistic-abstract-technology-particle_23-2148431735.avif)
    center center/cover no-repeat;
}

.services h2 {
  color: white;
}

.topics {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.topic {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px 50px;
}

.topic-text h3 {
  font-weight: 400;
  margin-bottom: 1rem;
}

.topic-text ul {
  list-style-type: square;
  font-weight: 300;
}

.topic-image img {
  width: 64px;
  height: 64px;
}

/* Partners */
.partners {
  margin-top: 8rem;
}

.partners-gallery {
  overflow: hidden; /* Hide overflow */
}

.partners-gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hide overflow */
}

.partners-gallery-track {
  display: flex;
  animation: scroll 20s linear infinite; /* Add animation */
}

.partners-card {
  flex: 0 0 auto;
  width: 250px; /* Adjust width as needed */
  padding: 0 3rem;
  text-align: center;
}

.partners-image img {
  width: 200px; /* Set a fixed width for all images */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure images maintain their aspect ratio */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Adjust based on the number of images */
  }
}

/* ----------------------------------------------------------------------------------------------- */
.clients {
  margin-top: 6rem;
}

.clients-gallery {
  overflow: hidden; /* Hide overflow */
}

.clients-gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hide overflow */
}

.clients-gallery-track {
  display: flex;
  animation: scroll 20s linear infinite; /* Add animation */
}

.clients-card {
  flex: 0 0 auto;
  width: 250px; /* Adjust width as needed */
  padding: 0 3rem;
  text-align: center;
}

.clients-image img {
  width: 200px; /* Set a fixed width for all images */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure images maintain their aspect ratio */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Adjust based on the number of images */
  }
}

/* contact */
/* .contact-form {
  background-color: lightgray;
  background: #000
    url(../images/worldwide-connection-blue-background-illustration-vector_53876-76824-flip.jpg)
    center center/cover no-repeat;
}

.contact-form p {
  margin-bottom: 3rem;
}

.contact-form form {
  padding: 2rem;
}

.contact-form input,
.contact-form textarea {
  display: block;
  font-family: inherit;
  font-size: medium;
  width: 100%;
  margin: 1.5rem;
  border: 1px solid #ccc;
  padding: 1.2rem 1rem;
}

.contact-form textarea {
  height: 200px;
}

.contact-form .btn {
  display: block;
  width: 100%;
  font-size: inherit;
  font-family: inherit;
  margin: 0 auto;
} */

.form-content {
  background: #000
    url(../images/worldwide-connection-blue-background-illustration-vector_53876-76824-flip.jpg)
    center center/cover no-repeat;
  display: flex;
  /* gap: 50px; */
  max-width: 1100px;
  margin: 100px auto;
  justify-content: center;
  align-items: start;
  height: 100%;
  padding: 0 40px;
  color: white;
  font-size: 1.2rem;
  font-weight: 300;
  border-radius: 15px 30px 50px 5px;
}

.form-content form {
  padding: 4rem;
  flex: 1;
}

.form-content .text-container {
  padding: 2rem;
  flex: 1;
}

.form-content .text-container h2 {
  margin-bottom: 2rem;
}

/* form */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  /* font-size: 14px; */
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  outline: 0;
  font-size: 13px;
}

.form-group textarea {
  height: 100px;
  resize: none;
  margin-bottom: 10px;
  font-size: 13px;
}

.form-group .btn {
  display: block;
  /* padding: 15px 20px; */
  width: 100%;
  border-radius: 20px;
  background-color: #ff4032;
  cursor: pointer;
}

.form-group .btn:hover {
  background-color: yellow;
  color: #000;
}

/* ---------------------------------------------------------------------------------- */
/* footer */
.site-footer {
  background-color: #f1f1f1;
  color: #fff;
  color: #000;
  padding: 4rem 2rem;
  font-size: 1rem;
  font-weight: 300;
}

.site-footer a {
  color: #9f9ca4;
  color: #000;
}

.site-footer a:hover {
  color: #fff;
  color: #2184af;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 10rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  color: #000;
  margin-bottom: 0.5rem;
}

.section-description i {
  padding: 0.5rem 0;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* New footer */
.site-footer {
  background-color: #f1f1f1;
  color: #000;
  padding: 4rem 2rem;
  font-size: 1rem;
  font-weight: 300;
}

.site-footer a {
  color: #000;
}

.site-footer a:hover {
  color: #2184af;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 10rem;
}

.footer-copyright {
  text-align: left;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #000;
}

/* -------------------------------------------------------------------------------- */
/* Media Queries */
@media (max-width: 768px) {
  .main-menu-items {
    display: none;
  }

  .navbar .mobile-menu {
    display: block;
  }

  .navbar .mobile-menu-toggle {
    display: block;
    padding: 10px;
  }

  .hero h1 {
    font-size: 2rem;
    font-weight: 300;
    width: 100%;
  }

  .logo-gallery-track {
    display: flex;
    animation: scroll 8s linear infinite; /* Add animation */
  }

  .logo-image img {
    width: 50px;
    height: 50px;
  }

  .logo-card-content h3 {
    font-weight: 100;
  }

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

  .about-container {
    flex-direction: column;
    padding: 0;
  }

  .about-left {
    display: none;
  }

  .topics {
    display: flex;
    flex-direction: column;
  }

  .clients-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0 4rem;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
  }

  .form-content {
    flex-direction: column-reverse;
    justify-content: start;
    margin: 1rem 1rem 6rem;
  }

  .form-content form,
  .form-content .text-container {
    width: 100%;
  }

  .form-content form {
    padding: 0;
  }

  .form-content h2 {
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
  }

  .form-content p {
    display: none;
  }

  /* GPT Footer */
  .site-footer {
    font-size: 0.9rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .link-item {
    padding: 0.2rem;
  }

  .links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }
}
