@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #666362;
  min-height: 100vh;
  position: relative;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

p:not(.ignoreDefaultPTag) {
  text-align: justify;
  text-align-last: left;
}

/*Scroll To Top Btn*/
.scrollToTop-btn {
  z-index: 99999;
  position: fixed;
  right: 0;
  bottom: 20px;
  width: 35px;
  height: 35px;
  background: #666362;
  color: #fff;
  font-size: 1rem;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: 0.5s ease;
}

.scrollToTop-btn.active {
  right: 5px;
  pointer-events: all;
  opacity: 1;
}

.btn {
  color: #fff;
  background-color: #101010ac;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  padding: 0.5rem;
  letter-spacing: 1px;
  width: 115px;
  text-align: center;
}

/*Container + Sections*/
section {
  position: relative;
  max-width: 1650px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
}

.top-section {
  padding-top: 6rem;
}

/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f2f2f2;
}
::-webkit-scrollbar-thumb {
  background: #666362;
}

/*Nav bar css*/
nav {
  /* position: absolute; */
  z-index: 1040;
  width: 100%;
}
nav .wrapper {
  position: relative;
  max-width: 100%;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo,
nav a,
nav i {
  color: #666362;
}

nav i {
  font-size: 1.5rem;
}

nav .logo {
  font-size: 2rem;
  font-weight: 500;
}

/* .logo a:hover,
.nav-links a:hover {
  color: orange;
} */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  letter-spacing: 0.1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

#nav-modal {
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  background-color: #fff;
  overflow-x: hidden;
  z-index: 9999;
  position: fixed;
  display: flex;
  padding: 5rem 2.5rem 2.5rem;
}

.left-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  font-size: 3rem;
  font-weight: 1000;
  color: black;
  padding-right: 4rem;
}

.left-nav-links,
.right-nav-links {
  display: flex;
  flex-direction: column;
}

.right-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 1.5rem;
  font-weight: 1000;
  padding: 5rem 0 5rem 2rem;
}

.x-nav {
  position: absolute;
  top: 15px;
  right: 30px;
}

.x-nav i {
  font-size: 2.5rem;
}

nav i:hover,
.x-nav i:hover {
  cursor: pointer;
}

#nav-modal > div:nth-child(1) > div a,
#nav-modal > div:nth-child(2) > div a {
  color: black;
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* #nav-modal > div:nth-child(1) > div a:hover,
#nav-modal > div:nth-child(2) > div a:hover {
  color: orange;
} */

.scroll-lock {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.d-none {
  display: none !important;
}

/*Nav responsiveness*/
@media only screen and (min-width: 501px) {
  #nav-modal {
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
  }

  .left-nav,
  .right-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: unset;
    flex-grow: unset;
  }

  .left-nav-links,
  .right-nav-links {
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media only screen and (max-width: 768px) {
  .mobile-item {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  #nav-modal {
    flex-direction: column;
  }

  .left-nav {
    align-items: unset;
    padding: 0rem;
    font-size: 1.7rem;
  }

  .right-nav {
    padding: 0rem;
    font-size: 1.2rem;
    justify-content: unset;
  }

  .left-nav-links,
  .right-nav-links {
    justify-content: center;
    align-self: center;
    width: 100%;
  }
}

/*Swiper button styling*/
.swiper-button-next,
.swiper-button-prev {
  padding: 5px;
  color: #bfbfbf !important;
  font-size: 2px;
  background-color: rgba(0, 0, 0, 0.4);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #bfbfbf;
}

/*Footer*/
.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #666362;
  color: #fff;
  gap: 0.7rem;
  padding: 2rem 0rem;
  position: absolute;
  bottom: 0;
}

footer span {
  font-weight: normal;
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-top {
  gap: 1rem;
  font-size: 1.2rem;
}

.img-container {
  flex-direction: column;
  gap: 0.7rem;
}

.img-container img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 0;
}

.footer-bottom {
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.8rem;
}

.footer-icons {
  display: flex;
  flex-direction: row;
  gap: 0.2rem;
}

.footer-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  /* border-radius: 50%; */
  font-size: 20px;
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 3px;
  margin-bottom: 5px;
}

.footer-desc {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #fff;
}

@media only screen and (min-width: 320px) and (max-width: 375px) {
  .footer-icons a {
    width: 30px;
    height: 30px;
  }
}

/* Sub headers */
h2.sub-header {
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
}

/* Utilities */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bold {
  font-weight: bold;
}

.text-danger {
  color: red;
}

/* Modal Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  max-width: min(750px, 75%);
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.res-msg {
  margin-bottom: 1rem;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.spinner.fa-spinner {
  animation: rotation 2s infinite linear;
}
