@font-face {
  font-family: "JoSans";
  src: url("./assets/fonts/Josefin_Sans/JosefinSans-VariableFont_wght.ttf")
    format("ttf");
}

@font-face {
  font-family: "teachers";
  src: url("./assets/fonts/Teachers/Teachers-VariableFont_wght.ttf")
    format("ttf");
}

@font-face {
  font-family: "open-sans";
  src: url("./assets/fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf")
    format("ttf");
}

@font-face {
  font-family: "jomolhari";
  src: url("./assets/fonts/Jomolhari/Jomolhari-Regular.ttf") format("ttf");
}

:root {
  --primary-color: #131e3c;
  --secondary-color: #d6ce7d;
  --primary-font: "JoSans", "open-sans", sans-serif;
  --header-font: "jomolhari";
  --secondary-font: "teachers", "open-sans", sans-serif;
}

* {
  transition: all 0.3s;
}

body {
  font-family: var(--primary-font);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

::selection {
  color: white;
  background: var(--secondary-color);
}

section {
  width: 80%;
  margin: auto;
}

a {
  text-decoration: none !important;
}

h1 {
  font-family: var(--header-font);
  font-size: 3em;
  letter-spacing: 3px;
}

h2 {
  color: var(--primary-color);
  font-weight: bold;
}

hr {
  color: #7d7777;
  opacity: 0.6;
}

a.navbar-brand {
  font-family: var(--header-font);
  font-size: 2em;
  color: var(--secondary-color);
}

section.hero-section {
  background-image: url("./assets/images/inches-intior-home-banner.png");
  height: 100vh;
  width: 100%;
  background-size: cover;
}

.hero-image {
  overflow: hidden;
  align-content: center;
  height: 100%;
  margin: auto;
  text-align: center;
  /* color: var(--secondary-color); */
  color: white;
}

.hero-image img {
  width: 100%;
  height: 100%;
}

.intro-section {
  text-align: center;
  padding: 50px 0;
}

.intro-section h2 {
  color: var(--primary-color);
  margin-bottom: 1em;
}

.project-gallery {
  padding: 30px 0;
}

.gallery-right {
  font-family: var(--secondary-font);
}

.btn-base {
  font-size: 12px;
  text-transform: uppercase;
  background-color: transparent;
  color: var(--primary-color);
  padding: 8px 12px;
  border: 1px solid var(--primary-color);
  border-radius: 0px;
  cursor: pointer;
}

.mini-gallery {
  background-color: #7d7777;
}

.mini-gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.mini-gallery-item img {
  width: 100%;
  height: 100%;
}

.mini-gallery-item h4 {
  position: absolute;
  width: 100%;
  top: 48%;
  margin: 0px;
  text-align: center;
  font-weight: 600;
  color: white;
  z-index: -1;
}

.mini-gallery-item:hover > img {
  opacity: 0.5;
  cursor: pointer;
}

.mini-gallery-item:hover > h4 {
  z-index: 10;
  transform: scale(1.3);
}

.about-section {
  padding: 50px 0;
  position: relative;
  align-items: center;
  border-bottom: 1px solid var(--primary-color);
}

.principal-designer {
  height: 500px;
}

.principal-designer img {
  width: auto;
  height: 100%;
  background-color: #7d7777;
}

.about-content {
  position: absolute;
  right: 40px;
  background-color: var(--primary-color);
  padding: 40px 60px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  color: var(--secondary-color);
  align-items: flex-start;
}

.about-content h2 {
  font-weight: bold;
  color: var(--secondary-color);
}

.btn-secondary {
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 10px 50px;
}

.workflow {
  padding-bottom: 50px;
}

.workflow h2 {
  color: var(--primary-color);
  font-weight: bold;
  text-align: center;
  margin: 2em 0px;
}

.workflow-item {
  padding: 20px;
  border-bottom: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
}

.workflow-item:last-child {
  border-right: none;
}

.workflow-item .workflow-content {
  color: #7d7777;
}

.swiper {
  height: 70vh;
}

.card {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1em;
  border-radius: 0px;
  text-align: center;
  left: 40px;
}

.card-title {
  font-weight: bold;
  font-size: 2em;
}

.card-text {
  margin: 3rem 0px;
}

.client-name {
  font-weight: bold;
  font-size: 1.5em;
}

.client-profession {
  font-size: 0.7em;
  margin-bottom: 0px;
}

.site-image {
  background-color: #e0e0e0;
  height: 90%;
  overflow: hidden;
}

.swiper-pagination-bullet {
  background: #7d7777;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.banner {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 3em;
  border-radius: 0px;
  text-align: center;
  margin: 2em 0px;
}

.banner h2 {
  color: var(--secondary-color);
  font-weight: bold;
}

.banner h3 {
  margin: auto;
}

.call-to-action {
  font-weight: bold;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 2.5em;
  padding: 3em;
}

.call-to-action .btn-base {
  padding: 10px 100px;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

footer p a {
  color: var(--secondary-color);
}

.sub-title {
  font-size: larger;
  color: #777;
  font-weight: 400;
}

@media only screen and (max-width: 600px) {
  hr {
    display: none;
  }

  .intro-section {
    padding-bottom: 0;
  }

  .intro-section h2 {
    line-height: 1.5;
  }

  .project-gallery {
    flex-direction: column;
  }

  .gallery-left {
    width: 100%;
    margin: 20px 0px;
  }

  .gallery-right {
    width: 100%;
  }

  .mini-gallery {
    --bs-gutter-x: 0px;
  }

  .mini-gallery-item {
    width: 50%;
  }

  .about-section {
    flex-direction: column !important;
    border-bottom: none;
  }

  .principal-designer {
    width: 100%;
    height: 300px;
    text-align: center;
    margin: 3px;
  }

  .about-content {
    position: static;
    width: 100%;
  }

  .workflow-item {
    width: 50%;
  }

  .workflow-item:nth-child(2) {
    border-right: none;
  }

  .swiper {
    height: 45vh;
  }

  .card {
    left: 0px;
    width: 100%;
  }
  
  
  .card-text {
    margin: 1rem 0px;
  }

  .site-image {
    display: none;
  }

  .banner {
    padding: 3em 1em;
  }

  .insta {
    width: 100%;
    padding: 0 20px;
  }

  .call-to-action {
    padding: 1em;
    gap: 1.5em;
    margin-bottom: 1em;
  }

  .call-to-action .btn-base {
    padding: 10px 30px;
  }

  .meeting {
    display: none;
  }
}
