/* @import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */

@font-face {
  font-family: 'centurygothicbold';
  src: url('../font/centurygothic_bold.ttf') format('truetype');
  font-weight: bold;
  font-style: bolds;
}

@font-face {
  font-family: 'swiss';
  src: url('../font/swiss.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

nav {
  font-family: centurygothicbold;
}

.mont-n {
  font-family: centurygothicbold;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.mont-b {
  font-family: centurygothicbold;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


p {
  font-family: 'swiss' !important;
  font-weight: 300;
  font-style: normal;
  color: #4d4d4d;
}

nav {
  font-family: 'swiss' !important;
}

body {
  color: #5f5f5f;
  background-color: rgb(133, 133, 133, 0.1);
  font-family: 'swiss';
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h1 {
  font-family: 'centurygothicbold' !important;
  font-optical-sizing: auto;
  /* font-weight: 500; */
  font-style: normal !important;
  font-variation-settings:
    "wdth" 100 !important;
}

h2 {
  font-family: 'centurygothicbold' !important;
  font-optical-sizing: auto;
  /* font-weight: 500; */
  font-style: normal !important;
  font-variation-settings:
    "wdth" 100 !important;
}

h4 {
  font-family: 'centurygothicbold';
  font-optical-sizing: auto;
  /* font-weight: 500; */
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h5 {
  font-family: 'centurygothicbold';
  font-optical-sizing: auto;
  /* font-weight: bold; */
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.hero {
  background: url('../images/design-metrics-cover-image.webp') no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Black overlay with 50% opacity */
  z-index: 1;
  /* Place it over the content */
}

.logo-overlay {
  z-index: 9999;
  color: white;
  font-size: 80px;
  font-weight: bold;
}


.img-width-100 {
  width: 60px !important;
}

.img-width-150 {
  width: 100px !important;
}

.bg-dm-grey-darker {
  background-color: #5f5f5f;
}

.bg-dm-grey-skin {
  background-color: #eae5e1 !important;
}

.rounded-8 {
  border-radius: 40px !important;
}

.bg-nav-dm-grey-darker {
  background-color: #5f5f5f;
  opacity: 4;
}

.color-dm-grey-darker {
  color: #5f5f5f;
}

.bg-dm-grey-lightest {
  background-color: rgb(133, 133, 133, 0.1);
}

.letter-spacing {
  letter-spacing: 4px;
}

.section-title {
  color: #5f5f5f;
  margin-bottom: 20px;
  font-weight: bold;
}

.section-container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 30px;
}

.hero-section {
  background: url('../images/project-listing/project-listing-cover.webp') no-repeat center center;
  background-size: cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.founder-image {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.core-values ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.core-values li {
  background-color: #5f5f5f;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

footer {
  background-color: #5f5f5f;
  color: white;
  padding: 20px;
  text-align: center;
}

.hero-section-our-portfolio {
  background: url('../images/project-listing/cover.webp') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-section-our-portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content-our-portfolio {
  position: relative;
  z-index: 1;
}

.project-card {
  border: none;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
}

.filter-bar {
  background-color: #5f5f5f;
  padding: 15px;
  color: white;
}

.btn-filter {
  background-color: white;
  color: #5f5f5f;
  border: none;
}

.btn-filter:hover,
.btn-filter.active {
  background-color: #cccccc;
}

.btn-outline-dm {
  color: #5f5f5f;
  border-color: #5f5f5f;
  background-color: transparent;
  background-image: none;
}

.btn-outline-dm:hover {
  color: #fff;
  background-color: #5f5f5f;
  border-color: #5f5f5f;
}

.btn-outline-dm:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5);
}

.btn-outline-dm:active {
  color: #fff;
  background-color: #5f5f5f;
  border-color: #5f5f5f;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-outline-dm:disabled,
.btn-outline-dm.disabled {
  color: #5f5f5f;
  background-color: transparent;
  border-color: #5f5f5f;
}

.image-container {
  overflow: hidden;
  border-radius: 12px;
}

.zoom-img {
  transition: transform 0.4s ease-in-out;
}

.zoom-img:hover {
  transform: scale(1.2);
}

.menu {
  display: flex;
  justify-content: right;
  align-items: right;
  max-width: 720px;
  margin: 0 0;
  list-style: none;
}

.fa-brands:before,
.fa-regular:before,
.fa-solid:before,
.fa:before,
.fab:before,
.far:before,
.fas:before {
  color: #797979;
  position: fixed;
}

.menu li {
  width: 140px;
  /* height: 50px; */
  /* transition: background-position-x 1s linear; */
  text-align: center;
  font-weight: 900;

  a {
    font-size: 14px;
    color: #777;
    text-decoration: none;
    transition: all 0.45s;
  }

  /* &:hover { */
    /* background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEi%0D%0AIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhs%0D%0AaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0%0D%0AaD0iMzkwcHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDM5MCA1MCIgZW5hYmxlLWJhY2tn%0D%0Acm91bmQ9Im5ldyAwIDAgMzkwIDUwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0i%0D%0Abm9uZSIgc3Ryb2tlPSIjZDk0ZjVjIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLW1pdGVybGlt%0D%0AaXQ9IjEwIiBkPSJNMCw0Ny41ODVjMCwwLDk3LjUsMCwxMzAsMAoJYzEzLjc1LDAsMjguNzQtMzgu%0D%0ANzc4LDQ2LjE2OC0xOS40MTZDMTkyLjY2OSw0Ni41LDI0My42MDMsNDcuNTg1LDI2MCw0Ny41ODVj%0D%0AMzEuODIxLDAsMTMwLDAsMTMwLDAiLz4KPC9zdmc+Cg=="); */
    /* animation: line 1s; */
  /* } */

  /* &:hover a { */
    /* color: #d94f5c; */
  /* } */

  &:not(:last-child) {
    margin-right: 0px;
  }
}

@keyframes line {
  0% {
    background-position-x: 390px;
  }
}

.aspect-9-14 {
  aspect-ratio: 9/14;
}

@media (max-width: 450px) {
  .aspect-9-14 {
    aspect-ratio: 4/1.5;
  }

  .hero {
    height: 28vh
  }
}

@media (max-width: 768px) {
  .section-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
  }

  .logo-overlay {
    font-size: 50px;
  }

  .navbar {
    position: absolute;
    top: 0;
    /* Stay at the top for mobile */
    width: 100%;
    /* Full width */
  }

  .bg-dark {
    --bs-bg-opacity: 1;
    background-color: transparent !important;
  }

  .bg-nav-dm-grey-darker {
    background-color: transparent !important;
  }

  .navbar-toggler {
    top: 0% !important;
    right: 6% !important;
  }
}

@media (max-width: 801px) {
  .navbar {
    display: none;
    opacity: 0.5;
  }
}

@media (max-width: 1170px) {
  .navbar {
    display: none;
    opacity: 0.5;
  }

  .card-body h5 {
    font-size: 1rem;
  }
}


@media (min-width: 769px) {
  .navbar {
    /* position: relative; */
    /* Stay below the hero image on desktop */
    top: auto;
    /* Reset top position */
  }

  .aspect-9-14 {
    aspect-ratio: 2/1;
  }
}

.mobile-menu {
  display: none;
}

.navbar-toggler {
  display: none;
}

/* General mobile menu styles */
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .navbar-toggler {
    display: block;
    position: absolute;
    top: 2%;
    right: 2%;
    font-size: 24px;
    color: #ffffff;
    z-index: 999999;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1050;
  }

  .mobile-menu {
    position: fixed;
    overflow: scroll;
    top: 0;
    right: -100%;
    /* Start off-screen to the right */
    width: 250px;
    height: 100%;
    background-color: #5f5f5f;
    color: white;
    transition: right 0.3s ease;
    /* Transition for sliding effect */
    padding-top: 20px;
    z-index: 1060;
  }

  .mobile-menu.open {
    right: 0;
    /* Slide in from the right */
  }

  .mobile-menu a {
    color: white;
    font-size: 18px;
    display: block;
    padding: 8px 15px;
    text-decoration: none;
  }

  .mobile-menu a:hover {
    background-color: #0056b3;
  }

  .profile {
    text-align: center;
    padding: 20px 0;
  }

  .profile img {
    border-radius: 50%;
    width: 80px;
    margin-bottom: 10px;
  }

  .close-menu-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    /* Change to left for the close button */
    font-size: 25px;
    cursor: pointer;
    color: white;
    /* Set color for visibility */
  }

  .social-icons {
    padding: 20px;
    display: flex;
    justify-content: center;
  }

  .social-icons a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
  }
}