@font-face {
  font-family: "Roboto";
  src: url("../files/fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf");
  font-style: normal;
  letter-spacing: 1px;
}

@font-face {
  font-family: "Inter";
  src: url("../files/fonts/Inter/Inter-VariableFont_opsz\,wght.ttf");
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: unset;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: "Inter", sans-serif;
}

body {
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.4px;
  transition: all 0.4s ease-in-out;
}

/* header */

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* header content */

/* top header */

.topHeader {
  width: 100%;
  padding: 2px 0;
  display: flex;
  justify-content: center;
  color: #fff;
  background: #f35163;
}

.topHeaderText {
  width: 85%;
  text-align: center;
  font-size: 10px;
}

/* navigation */

.headerContainer {
  height: 80px;
  width: 85%;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.headerContainer1 {
  color: #333;
}

/* logo */

.headerLogo {
  max-width: 200px;
  flex: 1 1 100px;
  display: flex;
  align-items: center;
}

.headerLogo img {
  width: auto;
  height: 35px;
}

/* header menu */
.headerMenu {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.menuSearch {
  min-width: 250px;
  max-width: 350px;
  padding: 10px 20px;
  border-radius: 5px;
  color: #a4b8e0;
  background: rgba(65, 73, 88, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.headerContainer1 .menuSearch {
  background: white;
  color: #9ca3af;
}

.menuSearch1 {
  /* box-shadow: 0px 2px 18px 0px #0000001a; */
  border: 1px solid #ebebec;
  color: #a4b8e0;
  cursor: pointer;
  /* box-shadow: 0 5px 20px 0 rgba(185, 185, 185, 0.145); */
}

.menuSearch input {
  width: 100%;
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: "Inter";
  color: #a4b8e0;
}

.menuSearch1 input {
  color: #4b5563;
}

.menuSearch input::placeholder {
  color: #a4b8e0; /* Change this to your desired color */
  opacity: 1; /* Ensure it's fully visible in some browsers */
}

.menuSearch1 input::placeholder {
  color: #9ca3af;
}

.menuSearch input:focus {
  outline: none;
}

.menuLinks {
  display: flex;
  align-items: center;
}

.menuLinks a {
  height: 80px;
  padding: 0 15px;
  white-space: nowrap;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.menuLinks a span {
  padding: 5px;
}

.menuLinks a i {
  font-size: 12px;
}

.menuLinks a.active {
  color: #f35163;
}

.menuLinks a:hover {
  color: #f35163;
  transition: 0.4s all;
}

.headerContainer1 .menuLinks a:hover {
  color: #f35163;
  transition: 0.4s all;
}

.menuLink {
  position: relative;
  text-decoration: none;
  background: transparent;
  height: 80px;
  padding: 0 25px;
  z-index: 5;
}

.menuLink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 7px;
  width: 0%;
  background-color: #f35163;
  transition: width 0.4s linear;
}

.menuLink:hover {
  color: #333;
  background: white !important;
  border-radius: 0 !important;
}

.headerContainer1 .menuLink:hover {
  color: #f35163 !important;
  background: white !important;
}

.menuLink:hover::before {
  width: 100%;
}

.menuLink.active {
  color: #333;
  background: white !important;
  border-radius: 0 !important;
}

.menuLink.active1 {
  color: #f35163;
}

.menuLink.active i {
  transform: rotate(180deg);
  transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.menuLink.active::before {
  width: 100%;
}

/* .header buttons */

.headerButtons {
  max-width: 300px;
  flex: 1 1 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.headerButton a {
  height: 35px;
  width: 100px;
  border-radius: 23px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #f35163;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* header mobile */

.headerMobile {
  display: none;
  cursor: pointer;
}

.headerMobile i {
  font-size: 24px;
  color: #fff;
}

.headerContainer1 .headerMobile i {
  color: #333;
}

/* project nav */
.projectNav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 2;
}

.headerContainer1 .projectNav {
  top: 0;
  color: white;
}

.projectNavContent {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  background: #fff;
  display: flex;
}

.headerContainer1 .projectNavContent {
  top: 80px;
}

.projectNavContentLeft {
  flex: 1 1 200px;
  max-width: 520px;
  min-height: 100%;
  padding: 40px 20px 60px 7.5%;
  background-color: #2a6bec;
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 20px;
  animation: fadeIn 0.5s ease;
}

.projectNavHeader {
  color: #fde8e8;
  font-weight: 600;
}

.projectNavDes {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
}

.projectNavLink {
  display: flex;
  align-items: center;
  gap: 15px;
}

.projectNavLink:hover {
  gap: 20px;
  transition: 0.4s all;
}

.projectNavContentRight {
  flex: 1 1 600px;
  padding: 40px 7.5% 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
  color: black;
}

.navProject {
  position: relative;
  padding: 20px;
  padding-right: 30px;
  border-radius: 10px;
  line-height: 1.5;
  animation: fadeSlideUp 0.5s ease-in-out forwards;
}

.navProject:hover {
  background-color: #fdf2f2;
}

.navProject a {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.navProjectHeader {
  font-size: 16px;
  font-weight: 600;
  padding-right: 10px;
}

.navProjectDes {
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navProject i {
  position: absolute;
  top: 30px;
  right: 20px;
  font-size: 10px;
  color: #4b5563;
}

.navProject:hover i {
  font-size: 11px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0.5;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* divider */

.headerDivider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

/* mobile view */

@media (max-width: 1600px) {
  .projectNavContentLeft {
    max-width: 400px;
  }
}

@media (max-width: 1480px) {
  .projectNavContentRight {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 1400px) {
  .headerLogo {
    max-width: 150px;
  }

  .headerLogo img {
    height: 30px;
  }

  .headerMenu {
    gap: 20px;
  }

  .menuSearch {
    padding: 7px 10px;
    min-width: 200px;
  }

  .menuLinks a {
    padding: 0 10px;
  }
}

@media (max-width: 1248px) {
  .topHeader {
    display: none;
  }

  .headerMenu {
    justify-content: right;
  }

  .menuLinks,
  .headerButtons {
    display: none;
  }

  .headerMobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: #fff;
  }
}

@media (max-width: 400px) {
  .headerLogo img {
    height: 25px;
  }

  .menuSearch {
    padding: 0;
    min-width: 35px;
    max-width: 35px;
    height: 35px;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
  }

  .menuSearch.inactive {
    min-width: 35px;
    max-width: 35px;
    transition: all 0.15s ease-out;
  }

  .menuSearch span {
    display: none;
  }
}

/* footer  */
.footer {
  display: flex;
  flex-direction: column;
}

/* top footer */

.topFooter {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: #5338e9;
  color: #fff;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.topFooterContent {
  width: 85%;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topFooterText {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topFooterTextHeader {
  font-size: 24px;
  font-weight: 600;
}

.topFooterButton a {
  width: 136px;
  height: 40px;
  border-radius: 23px;
  background-color: #fff;
  color: #333;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.topFooterButton a:hover {
  background-color: #f35163;
  color: white;
  transition: 0.4s all ease-in-out;
}

.topFooterLine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15%;
  width: 1px;
  background-color: #9ca3af;
  z-index: 1;
}

/* bottomFooter */

.bottomFooter {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background-color: #222b3a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottomFooterContent {
  width: 85%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 1;
}

.bottomFooterTop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.bottomFooterContainer {
  min-width: 200px;
  max-width: 400px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.bottomFooterLogo img {
  width: auto;
  height: 45px;
}

.bottomFooterText {
  font-weight: 350;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.bottomFooterButton a {
  width: 136px;
  height: 40px;
  border-radius: 19px;
  background-color: #f35163;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.bottomFooterButton a:hover {
  background-color: #fff;
  color: #333;
  transition: 0.4s all ease-in-out;
  gap: 12px;
}

.middleFooterContainer {
  min-width: 400px;
  max-width: 540px;
  justify-content: space-between;
}

.footerMiddleContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
}

.footerMiddleLinks {
  max-width: 200px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footerMiddleLinks span {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 16px;
}

.footerMiddleLinks a {
  font-weight: 400;
}

.footerMiddleContact {
  flex: 1 1 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footerMiddleContact span {
  font-weight: 600;
  font-size: 16px;
}

.footerMiddleContact .contact-info {
  font-weight: 300;
  font-size: 13px;
  color: #f3f4f6;
}

.contact-information {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footerHeader {
  font-size: 16px;
  font-weight: 600;
}

.footerText {
  font-weight: 300;
  color: #f3f4f6;
}

.footerPartners {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footerPartners img {
  width: auto;
  height: 40px;
  background-color: white;
  padding: 2px;
}

.bottomFooterBottom {
  min-width: 100%;
  padding: 80px 0 0;
  font-size: 12px;
  font-weight: 350;
  display: flex;
  justify-content: space-between;
  gap: 40px 20px;
}

.bottomFooterBottom a {
  color: #f35163;
}

.copyright {
  max-width: 860px;
}

.footer-right {
  display: flex;
  justify-content: right;
  text-wrap: nowrap;
}

.copyright-line {
  display: none;
}

.bottomFooterLines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 38%;
  transform: translateX(-50%);
  border-left: 0.2px solid #374151;
  border-right: 0.2px solid #374151;
  z-index: 0;
}

/* footer responsive */
@media (max-width: 1600px) {
  .topFooterLine {
    left: 10%;
  }
}

@media (max-width: 1400px) {
  .topFooterLine {
    left: 7%;
  }
}

@media (max-width: 1200px) {
  .topFooterLine {
    left: 5%;
  }

  .bottomFooterContainer {
    max-width: 400px;
  }

  .middleFooterContainer {
    min-width: 450px;
  }
}

@media (max-width: 1024px) {
  .bottomFooterTop {
    flex-direction: column;
    gap: 60px;
  }

  .bottomFooterContainer {
    flex: 0;
    max-width: 100%;
    min-width: 100%;
  }

  .footerMiddleContainer {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .footerMiddleLinks,
  .footerMiddleContact {
    flex: 0;
    max-width: 100%;
    min-width: 100%;
  }

  .bottomFooterLines {
    width: unset;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-60%);
    height: 38%;
    border: none;
    border-top: 0.2px solid #374151;
    border-bottom: 0.2px solid #374151;
  }
}

@media (max-width: 768px) {
  .botttomFooterTop,
  .footerMiddleContainer {
    gap: 40px;
  }

  .bottomFooterText,
  .contact-info {
    max-width: 520px;
  }

  .bottomFooterLines {
    transform: translateY(-64%);
    height: 35%;
  }

  .bottomFooterBottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .footer-right {
    width: 100%;
    justify-content: left;
  }

  .copyright-line {
    position: absolute;
    bottom: 180px;
    left: 0;
    right: 0;
    height: 1px;
    background: #374151;
    display: block;
  }
}

@media (max-width: 704px) {
  .bottomFooterLines {
    transform: translateY(-75%);
    height: 33%;
  }
}

@media (max-width: 370px) {
  .bottomFooterText,
  .contact-info,
  .footerText {
    font-size: 13px;
  }

  .bottomFooterLines {
    transform: translateY(-72%);
    height: 34%;
  }

  .copyright-line {
    bottom: 200px;
  }

  .footerPartners img {
    height: 30px;
  }

  .bottomFooterBottom {
    font-size: 11px;
  }
}

/* search modal */

.searchModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 100px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  z-index: 10;
}

.searchBox {
  width: 100%;
  max-width: 520px;
  height: fit-content;
  background: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.searchInput {
  position: relative;
  width: 100%;
  height: 50px;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #fafafa;
}

.searchInput i {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #9ca3af;
}

.searchInput i.fa-spinner {
  top: 40%;
  transform: translateY(-40%);
  color: #5338e9;
  animation: spin 1s linear infinite;
}

.searchInput input {
  width: 100%;
  height: 100%;
  padding: 0 20px 0 40px;
  border-radius: 10px 10px 0 0;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #4b5563;
}

.searchInput input:focus {
  outline: none;
}

.searchResults {
  display: flex;
  flex-direction: column;
}

.emptySearch {
  padding: 40px 20px;
  text-align: center;
  color: #9ca3af;
}

.searchResult {
  padding: 10px 20px;
  border-bottom: 1px solid #fafafa;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.searchResult:last-child {
  border-bottom: none;
}

.searchResult a .searchResultHeader {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchResult a .searchResultDes {
  font-size: 13px;
  color: #9ca3af;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.closeSearch {
  border-top: 1px solid #fafafa;
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

.closeSearch button {
  height: 30px;
  width: 60px;
  border-radius: 5px;
  background: #f35163;
  color: white;
}

/* spiner animation */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* extra */
.hidden {
  display: none;
}

.hideOverflow {
  overflow: hidden;
}
