/* GENERAL RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  margin: 0;

  color: #101c2c;
  background-color: #f6faff;

  font-family: Arial, Helvetica, sans-serif;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}


/* PROJECT TITLE */

.project_text_title {
  margin: 35px 0 0;

  text-align: center;

  font-size: 50px;
}

.project_site_description {
  margin: 25px 0 20px;

  text-align: center;

  font-size: 18px;
}


/* FILTER BUTTONS */

.project_filter_buttons_div {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  margin: 0 auto;
}

.filter_button {
  min-width: 130px;
  height: 38px;

  padding: 0 18px;

  color: #26394c;
  background-color: white;

  border: 1px solid #d8e2eb;
  border-radius: 5px;

  white-space: nowrap;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.filter_button:hover,
.filter_button.active {
  color: white;
  background-color: #078bea;

  border-color: #078bea;
}

.filter_button:hover {
  transform: translateY(-1px);
}


/* PROJECT SHOWCASE */

.project_collection_div {
  width: 92%;
  max-width: 1420px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  margin: 50px auto 0;
}

.project_collection_div.has_no_projects {
  display: none;
}


/* PROJECT CARDS */

.project_div {
  min-width: 0;
  min-height: 430px;

  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 10px;

  background-color: white;

  border: 1px solid #dce5ed;
  border-radius: 10px;

  box-shadow: 0 3px 12px rgba(13, 29, 45, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.project_div:hover {
  transform: translateY(-3px);

  box-shadow: 0 7px 18px rgba(13, 29, 45, 0.13);
}

.project_div.is_hidden {
  display: none;
}

.no_projects_message {
  display: none;

  width: 92%;
  max-width: 1420px;

  margin: 35px auto 0;

  color: #506173;

  text-align: center;
  font-size: 16px;
}

.no_projects_message.is_visible {
  display: block;
}


/* PROJECT IMAGE */

.project_image {
  width: 100%;
  height: 250px;

  display: block;

  object-fit: cover;

  border-radius: 7px;
}


/* PROJECT CATEGORY */

.project_type_text {
  margin: 13px 0 7px;

  color: #078bea;

  font-size: 13px;
  font-weight: 700;

  text-transform: uppercase;
}


/* PROJECT TITLE */

.project_div > h2:not(.project_type_text) {
  margin: 0 0 10px;

  color: #101c2c;

  font-size: 20px;
}


/* PROJECT DESCRIPTION */

.project_description_text {
  width: auto;

  margin: 0 0 12px;

  color: #506173;

  font-size: 14px;
  line-height: 1.4;
}


/* VIEW PROJECT */

.view_project {
  margin: auto 0 2px;

  color: #078bea;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}


/* LEFT AND RIGHT PROJECT BUTTONS */

.change_projects_left_button,
.change_projects_right_button {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  color: white;
  background-color: #078bea;

  border: none;
  border-radius: 50%;

  font-size: 28px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 5px 14px rgba(7, 139, 234, 0.3);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.change_projects_left_button:hover,
.change_projects_right_button:hover {
  background-color: #05bdf4;

  transform: scale(1.08);

  box-shadow: 0 7px 18px rgba(7, 139, 234, 0.4);
}


/* CUSTOM PROJECT / GET IN TOUCH */

.custom_projects_div {
  width: 88%;
  max-width: 1240px;
  min-height: 96px;

  margin: 45px auto 50px;
  padding: 20px 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: white;
  background-color: #0d1d2d;

  border-radius: 10px;

  box-sizing: border-box;
}


/* CUSTOM PROJECT LEFT SIDE */

.custom_project_content {
  display: flex;
  align-items: center;

  gap: 20px;
}


/* CUSTOM PROJECT ICON */

.custom_project_icon {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #05bdf4;

  border: 1px solid #078bea;
  border-radius: 50%;
}

.custom_project_icon svg {
  width: 24px;
  height: 24px;
}


/* CUSTOM PROJECT TEXT */

.custom_project_text {
  margin: 0 0 6px;
  padding: 0;

  font-size: 20px;
}

.custom_project_solution {
  margin: 0;
  padding: 0;

  color: #d8e7f5;

  font-size: 14px;
  font-weight: normal;
}


/* GET IN TOUCH BUTTON */

.get_in_touch {
  padding: 12px 25px;

  color: white;
  background-color: #078bea;

  border: none;
  border-radius: 5px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.get_in_touch:hover {
  background-color: #05bdf4;

  transform: translateY(-1px);
}


/* HEADER */

.header {
  width: 100%;

  color: white;
  background-color: #0d1a28;
}

.header_content {
  width: 88%;
  max-width: 1360px;
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 auto;
}

.logo {
  color: white;

  font-size: 30px;
  font-weight: 700;
}

.nav_bar {
  display: flex;
  align-items: center;

  gap: 46px;
}

.nav_bar a {
  color: white;

  font-size: 16px;
}

.nav_bar a:hover {
  color: #05bdf4;
}

.talk_button {
  padding: 10px 25px;

  color: #05c7f7 !important;

  border: 1px solid #05c7f7;
  border-radius: 5px;
}

.talk_button:hover {
  color: #0d1a28 !important;
  background-color: #05c7f7;
}


/* FOOTER */

.footer {
  width: 100%;
  min-height: 115px;
  display: block;
  flex-shrink: 0;

  padding: 20px 0 12px;

  color: white;
  background-color: #0d1d2d;
}

.footer_content {
  width: 87%;
  max-width: 1340px;

  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;

  margin: 0 auto;
}

.footer_brand h2 {
  margin: 0 0 5px;
  font-size: 21px;
}

.footer_brand p {
  margin: 3px 0;

  color: #d5dde5;

  font-size: 12px;
}

.footer_navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.footer_navigation a {
  color: white;
  font-size: 14px;
}

.footer_navigation a:hover {
  color: #05bdf4;
}


/* SOCIAL MEDIA ICONS */

.social_links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.social_links a {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social_links a:hover {
  color: #05bdf4;
  transform: translateY(-2px);
}

.social_links svg {
  width: 20px;
  height: 20px;
  display: block;
}

.copyright {
  margin: -3px 0 0;

  color: #bec8d1;

  text-align: center;
  font-size: 12px;
}


/* TABLET */

@media (max-width: 1100px) {

  .nav_bar {
    gap: 24px;
  }

  .project_collection_div {
    width: 95%;
    gap: 12px;
  }

  .project_image {
    height: 200px;
  }

  .project_div {
    min-height: 390px;
  }

  .custom_projects_div {
    width: 92%;
  }

}


/* MOBILE */

@media (max-width: 750px) {

  .header_content {
    width: 92%;
    padding: 14px 0;
  }

  .logo {
    font-size: 24px;
  }

  .nav_bar a:not(.talk_button) {
    display: none;
  }

  .talk_button {
    padding: 9px 15px;
  }


  /* PROJECTS */

  .project_text_title {
    font-size: 38px;
  }

  .project_site_description {
    width: 90%;

    margin: 20px auto;

    font-size: 16px;
  }

  .project_filter_buttons_div {
    width: 92%;

    flex-wrap: wrap;
  }

  .filter_button {
    min-width: 120px;
  }

  .project_collection_div {
    width: 92%;

    flex-direction: column;

    margin-top: 35px;
  }

  .project_div {
    width: 100%;
    min-height: 0;
  }

  .project_image {
    height: 230px;
  }

  .change_projects_left_button,
  .change_projects_right_button {
    display: none;
  }


  /* CUSTOM PROJECT */

  .custom_projects_div {
    width: 92%;

    flex-direction: column;
    align-items: flex-start;

    gap: 20px;

    margin-top: 35px;
    padding: 25px;
  }

  .get_in_touch {
    width: 100%;
  }


  /* FOOTER */

  .footer {
    padding: 25px 0;
  }

  .footer_content {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 22px;

    text-align: center;
  }

  .footer_navigation {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

  .copyright {
    margin-top: 24px;
  }

}