@font-face {
  font-family: inter;
  src: url('/src/fonts/Inter/static/Inter_18pt-Thin.ttf');
  font-weight: 100;
}
@font-face {
  font-family: inter;
  src: url('/src/fonts/Inter/static/Inter_18pt-Light.ttf');
  font-weight: 200;
}
@font-face {
  font-family: inter;
  src: url('/src/fonts/Inter/static/Inter_18pt-Medium.ttf');
  font-weight: 400;
}
@font-face {
  font-family: inter;
  src: url('/src/fonts/Inter/static/Inter_18pt-SemiBold.ttf');
  font-weight: 500;
}
@font-face {
  font-family: inter;
  src: url('/src/fonts/Inter/static/Inter_18pt-Bold.ttf');
  font-weight: 600;
}
@font-face {
  font-family: inter;
  src: url('/src/fonts/Inter/static/Inter_18pt-Black.ttf');
  font-weight: 700;
}

* {
  font-family: inter;
}

::-moz-selection { /* Code for Firefox */
  color: #fff;
  background: #2CA9BC;
}

::selection {
  color: #fff;
  background: #2CA9BC;
}

/* Reset some default styles */
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic styling */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: rgba(37, 37, 37, 0.6);
  z-index: 999;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal > .backdrop {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  height: 400px;
  width: 100%;
  border-radius: 12px;
}

section {
  scroll-behavior: smooth;
  overflow: auto;
  scroll-snap-type: y mandatory;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header styling */
header {
  background: linear-gradient(to right, #1E1E1E, #292929);
  color: #fff;
  position: relative;
  top: 0;
  z-index: 99;
  height: 100vh;
}

header * {
  user-select: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  max-width: 170px;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #2CA9BC;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 2s ease-in-out;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hero-content {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: slideIn 1.5s ease-in-out;
  font-weight: 500;
}

.hero h2 {
  font-weight: 200;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  animation: slideIn 1.5s ease-in-out 0.5s;
}

.cta-button {
  background: #fff;
  color: #1E1E1E;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
  background: #ff7e5f;
  color: #fff;
}

/* Services section styling */
.services {
  padding: 50px 20px;
  background: #f1f1f1;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: max-content;
  overflow: hidden;
  height: 50vh;
}

.services-wrapper,
.customers-wrapper,
.technologies-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.customers-wrapper {
  align-items: stretch;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.services h2,
.customers h2,
.technologies h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 500;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  user-select: none;
  height: 120px;
  flex-grow: 1;
  gap: .75rem;
}

.service-card * {
  font-weight: 200;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.custom-wrapper {
  background: linear-gradient(to right, #1E1E1E, #292929);
}

/* Customers section styling */
.customers {
  height: 50vh;
  display: flex;
  color: #fff;
}

.customers a,
.customers a:visited {
  color: #2CA9BC;
}

.customer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #323232;
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  user-select: none;
  flex: 1 1 0px;
}

.customer-card:hover {
  background-color: #252525;
  -webkit-transition: background-color .4s linear;
  -ms-transition: background-color .4s linear;
  transition: background-color .4s linear;
}

.customer-card img {
  max-width: 150px;
  filter: brightness(0) invert(1);
}

/* Technologies section styling */
.technologies {
  display: flex;
  color: #fff;
}

.technology {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.technologies-wrapper {
  flex-direction: column;
  gap: 2rem;
}

.technologies-wrapper .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.technologies-wrapper i {
  font-size: 80px;
  color: #f1f1f1;
}

/* Footer styling */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer p {
  font-weight: 100;
}

footer a,
footer a:visited {
  color: #fff;
}

footer span {
  font-weight: 600;
}

/* Responsive styling */
@media (max-width: 768px) {
  section {
    height: 100% !important;
  }

  header {
    height: auto;
  }

  .header-content > nav {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-button {
    font-size: 0.9rem;
  }

  .technologies-wrapper i {
    font-size: 60px;
    color: #f1f1f1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .cta-button {
    font-size: 0.8rem;
  }
}

/* Keyframes for animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
