/* Basic page styling */
body {
  background-color: #171717;
  font-family: verdana, sans-serif;
  color: white;
  margin: 0;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Layout */
.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
}

/* Style for links in the center section */
.center a {
  color: white;
  text-decoration: underline;
}

/* Style for visited links */
.center a:visited {
  color: white;
}

/* Optional hover effect */
.center a:hover {
  opacity: 0.8;
}

.center img {
  max-width: 100%; /* Ensures the image never exceeds the width of its container */
  height: auto; /* Maintains the image's aspect ratio */
  /* You can add a specific 'width' or 'max-width' in relative units like vw or percentage here */
  width: 50%; /* Example: make it 50% of the container width */
  display: block; /* Helps with centering and layout */
  margin: 0 auto; /* Centers the block image */
}

/* You might want media queries to adjust the size on different screen sizes */
@media (min-width: 768px) { /* For larger screens */
  .center img {
      width: 300px; /* Or a fixed size, or a different percentage */
      max-width: 100%; /* Still keep max-width 100% */
  }
}

.left {
  padding: 10px;
}

.full-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.medium-image {
  width: 66%;
  height: 66%;
  object-fit: contain;
}

.btn-cta {
  border-radius: 48px;
  padding: 12px 16px;
  margin: 3px;
  text-align: center;
  background-color: #007bff;
  color: white;
  font-size: large;
  cursor: pointer;
  text-decoration: none;  /* This removes the underline */
}

.btn-cta:hover {
  background-color: #0056b3;  /* Darker blue on hover */
  transition: background-color 0.3s ease;
}

.btn-std {
  border: 1px solid #333;
  border-radius: 48px;
  padding: 12px 16px;
  margin: 3px;
  text-align: center;
  color: white;
  font-size: large;
  cursor: pointer;
  text-decoration: none;  /* This removes the underline */
}

.btn-std:hover {
  background-color: #222222;  /* Darker grey on hover */
  transition: background-color 0.3s ease;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;  /* Adds space between buttons */
  margin-top: 20px;  /* Space after the heading */
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: 180vh;
  margin: 0 auto;
  gap: 20px;
}

.grid-item {
  background-color: #171717;
  width: 100%;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  /* Add these properties for centering */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.company-description {
  padding: 20px;
  text-align: left;
}

.company-description h2 {
  margin-bottom: 20px;
}

.company-description p {
  line-height: 1.6;
  margin-bottom: 15px;
}


/* --------- Partners Carousel - START --------- */
.partners-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 960px;
  margin: auto;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.partners-track {
  display: flex;
  width: max-content; /* Ensure track is wide enough */
  animation: scroll 40s linear infinite;
}

.partner-logo {
  flex-shrink: 0;
  width: 150px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 10px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%);
    opacity: 0;
  }
}
/* --------- Partners Carousel - END --------- */


/* Talking loader animation */
.lds-talking {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-talking div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: lds-talking 1.2s linear infinite;
}

/* Loader dot positions */
.lds-talking div:nth-child(1) { top: 37px; left: 66px; }
.lds-talking div:nth-child(2) { top: 22px; left: 62px; }
.lds-talking div:nth-child(3) { top: 11px; left: 52px; }
.lds-talking div:nth-child(4) { top: 7px; left: 37px; }
.lds-talking div:nth-child(5) { top: 11px; left: 22px; }
.lds-talking div:nth-child(6) { top: 22px; left: 11px; }
.lds-talking div:nth-child(7) { top: 37px; left: 7px; }
.lds-talking div:nth-child(8) { top: 52px; left: 11px; }
.lds-talking div:nth-child(9) { top: 62px; left: 22px; }
.lds-talking div:nth-child(10) { top: 66px; left: 37px; }
.lds-talking div:nth-child(11) { top: 62px; left: 52px; }
.lds-talking div:nth-child(12) { top: 52px; left: 62px; }

@keyframes lds-talking {
  80%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}

/* Responsive design */
@media (max-width: 768px) {
  .grid-container {
      grid-template-columns: 100%;
      max-width: 100%;
      gap: 15px;
  }
  
  .grid-item {
      min-height: 320px;
  }
}

.content-container {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
}


/* --------- Footer - START --------- */
.contact-social {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

/* Remove default underline on link hover if only icon is shown */
.contact-social a:hover {
  text-decoration: none;
}

/* Style for the text part in the footer email link */
.contact-social a small {

   text-decoration: none;
}
.contact-social a:hover small {
   text-decoration: underline;
}


.contact-social svg {
  width: 24px;
  height: 24px;
  fill: white;
  transition: transform 0.2s ease-in-out;
  vertical-align: middle;
}

/* Apply scale effect when the LINK (<a>) is hovered */
.contact-social a:hover svg {
  transform: scale(1.2);


}

/* --------- Nav bar - START --------- */
.top-nav {
    background-color: #171717;
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* --------- Nav bar - END --------- */