* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  display: flex;
}

.content {
  width: 100%;
  height: 100vh;
  padding-top: 10px;
  position: relative;
  z-index: 2;
}

@media only screen and (max-width: 990px) {
  .content {
    padding-left: 0;
    margin-right: 0;
  }
}

/*NAVBAR*/

header {
  position: fixed;
  z-index: 10;
  width: 100%;
}
.navbar {
  background-color: #fdfff9;
  z-index: 100;
  padding: 0;
  position: fixed;
}
.nav-container {
  width: 100%;
  background-color: #fdfff9;
  display: flex;
  flex-direction: column;
}
.sidebar {
  padding: 0 0;
}

.nav-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav-ul {
  list-style-type: none;
  width: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  z-index: 10;
  padding: 0;
  margin-top: 5px;
  margin-bottom: 5px;
}

.nav-li-2,
.nav-li-3,
.nav-li-4,
.nav-li-5,
.nav-li-6,
.nav-li-7,
.nav-li-8 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #fff;
  border: solid 1px #282828;
  color: #282828;
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
}

.nav-li-first {
  text-decoration: none;
  color: white;
  background-color: #282828;
  border-radius: 12px;
  padding: 10px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-li-middle,
.nav-li-last {
  width: 100%;
}
.nav-li-middle {
  margin: 0 5px;
}

.nav-li-9 {
  color: white;
  background-color: #282828;
  border: solid 1px #282828;
  cursor: pointer;
}

.nav-li-nav {
  border-radius: 12px;
  padding: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.nav-li a {
  text-decoration: none;
  font-size: 1.2em;
}
.nav-li-2:hover,
.nav-li-3:hover,
.nav-li-4:hover,
.nav-li-5:hover,
.nav-li-6:hover,
.nav-li-7:hover,
.nav-li-8:hover {
  background-color: #ff6331;
  color: white;
  border: solid 1px #ff6331;
}

.p-nav {
  margin-bottom: 0;
}

.navbar-toggler {
  color: #616161;
  border: none;
}

.btn-nav {
  margin-left: 10px;
}

.navbar-brand {
  display: none;
}

@media only screen and (max-width: 990px) {
  .navbar-nav {
    margin-top: 2rem;
  }
  .nav-ul {
    flex-direction: column;
    justify-content:flex-start;
    gap: 0.2rem;
  }

  .nav-li-nav {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0;
  }
  .btn-nav {
    margin-left: 0;
  }
  .nav-link {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-align: center;
  }
  .align-items-center {
    display: flex;
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .nav-li-first {
    display: none;
  }
  .sidebar {
    width: 100%;
    height: 100vh;
    margin-top: 2rem;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
  }
  .nav-li {
    height: 12vh;
  }
  .navbar {
    height: 80px;
  }
  .navbar-brand {
    display: block;
  }
}
/*MAIN*/

/*HERO*/

.hero-content {
  display: flex;
  flex-direction: column;
}
.hero-text {
  max-width: 500px;
}
.hero-img {
  border-radius: 12px;
}

/*BUTTONS*/

.btn-primary {
  background-color: #282828;
  color: #fff;
  border: solid 1px #282828;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 10%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.chevron {
  font-size: 1.4rem;
}

.btn-primary .chevron {
  margin-left: 10px;
  transition: transform 0.3s;
}

.btn-primary:hover {
  background-color: #fff;
  color: #282828;
  border: 1px solid #282828;
}

.btn-primary:hover .chevron {
  transform: translateX(8px);
}

.btn-section {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: black;
  text-decoration: none;
  font-weight: bold;
  text-align: left;
}

.arrow-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-top: 12px;
}

.arrow-line {
  width: 180px; /* Initial width of the arrow-line */
  height: 2px;
  background-color: #282828;
  transition: width 0.3s ease;
  display: inline;
}

.arrow-head {
  display: inline;
  position: absolute;
  left: 175px;
  transition: left 0.3s ease;
}

.btn-section:hover .arrow-line {
  width: 280px;
}
.btn-section:hover .arrow-head {
  left: 275px;
}

/*TEXT STYLES*/

.h1 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  font-weight: 500;
}

.h2 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  font-weight: 500;
}
.h3 {
  font-size: 1rem;
  font-weight: 300;
}
.h4 {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 2rem;
}
.p-section {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 2rem;
}
.upper-case {
  text-transform: uppercase;
  font-weight: 600;
}
.dots {
  font-size: 1.8rem;
  font-weight: 400;
}

.subheading-1 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2rem;
}
.subheading-2 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 2rem;
  color: #282828;
  text-decoration: none;
}
.h2-project {
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.2rem;
}
.p-project {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2rem;
}

/*SECTIONS*/

.bg-color-3 {
  background-color: #faffeb;
  padding: 60px;
  margin-bottom: 0.6rem;
}

.py-5 {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.row-spacer {
  margin-bottom: 2rem;
}

@media only screen and (max-width: 779px) {
  .bg-color-3 {
    padding: 16px;
  }
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}


/* LOCAL GUIDE */

.guide-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
.tab-btn {
  background: #fff;
  border: 2px solid #282828;
  border-radius: 25px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}
.tab-btn:hover {
  background: #282828;
  color: #fff;
}
.tab-btn.active {
  background: #282828;
  color: #fff;
}
.tab-content {
  max-width: 700px;
  margin: 0 auto;
}
.tab-panel {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}
.tab-panel.active {
  display: block;
}

.guide-card {
  text-decoration: none;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
}
.card-link {
  text-decoration: none;
  color: #282828;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.map-container {
  width: 100%;
  height: 300px;   /* default for mobile */
  border-radius: 10px;
}

@media only screen and (min-width: 768px) {
  .map-container {
    height: 400px; /* larger on desktop */
  }
}

.guide-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.guide-tabs::-webkit-scrollbar {
  display: none; /* hides scrollbar for cleaner look */
}

.tab-btn {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  background: #f8f9fa;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.active {
  background: #282828;
  color: #fff;
}

.card-link {
  display: block;
  text-decoration: none;
}
.guide-card {
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.2s;
}
.guide-card:hover {
  transform: translateY(-4px);
}

/* STORIES */

.stories-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
}

@media only screen and (max-width: 768px) {
  .stories-card {
    padding: 0 16px !important;
    padding-top: 1rem !important;
  }
  .card-text {
    padding-right: 0 !important;
    }
}

/* STYLE */

.color-white {
  color: #ffffff;
}
.bg-black {
  background-color: #282828 !important;
}
.border-radius-12 {
  border-radius: 12px;
}
.box-padding {
  padding: 10px 20px;
}

@media only screen and (max-width: 400px) {
  #nav-1 {
    padding: 100px 2rem;
    margin-bottom: 0;
  }
  .hero-container {
    padding: 0;
    margin: 0;
    height: 90vh !important;
  }
  .footer {
    padding-bottom: 0 !important;
  }
  .footer-padding {
    border-radius: 12px 12px 0 0;
  }
}
@media only screen and (max-width: 779px) {
  #nav-1 {
    padding: 100px 2rem;
    margin-bottom: 0.6rem;
  }
  .hero-container {
    padding: 0;
    margin: 0;
    height: 70vh;
  }
  #nav-2,
  #nav-3,
  #nav-4,
  #nav-5 {
    padding: 100px 2rem;
    margin-bottom: 0.6rem;
  }
  .hero-row-2 {
    margin-top: 1rem;
  }
  .mt-mobile-2 {
    margin-top: 2rem;
  }
  .row-spacer {
    margin-bottom: 0;
  }
  .d-mobile-none {
    display: none !important;
  }
  .column-start {
    padding: 0;
  }
  .column-middle {
    padding: 0;
  }
  .column-end {
    padding: 0;
  }
  .section-cases-padding {
    padding: 0;
  }
  .hero {
    height: 50%;
  }
  .y-spacer {
    margin-top: 2rem;
  }
  .nav-3-img {
    width: 250px;
    height: auto;
  }
  .footer-padding {
    padding: 10px 2rem !important;
  }
  .h1,
  .h2 {
    font-size: 2rem !important;
  }
}
@media only screen and (min-width: 780px) and (max-width: 990px) {
  #nav-1 {
    padding: 100px 2rem;
    margin-bottom: 0.6rem;
  }
  .hero-container {
    padding: 0;
    margin: 0;
    height: 60vh;
  }
  #nav-2,
  #nav-3,
  #nav-4,
  #nav-5 {
    padding: 100px 2rem;
    margin-bottom: 0.6rem;
  }
  .column-start {
    padding: 0 36px 0 0;
  }
  .column-middle {
    padding: 0 18px;
  }
  .column-end {
    padding: 0 0 0 36px;
  }
  .section-cases-padding {
    padding: 2rem;
  }
  .y-spacer {
    margin-top: 2rem;
  }
}

/*CAROUSEL*/
.cards-wrapper {
  display: flex;
  justify-content: space-between;
}
.carousel-item {
  width: 100%;
}
.carousel-inner {
  padding: 1em;
  display: flex;
  justify-content: center;
}
.carousel-control-prev,
.carousel-control-next {
  width: 5vh;
  height: 5vh;
  position: absolute;
  top: 30%;
  opacity: 1;
}
.stories-card {
  display: flex;
  flex-direction: row;
  padding: 0 2rem;
}

.card-image {
  border-radius: 12px;
  width: 100%;
  height: auto;
  position: relative;
  margin-right: 1rem;
}
.card-inner-img {
  border-radius: 12px;
  max-width: 100px;
}
.card-text {
  padding-right: 1rem;
}

.p-pill {
  background-color: #bff81d;
  color: #282828;
  border-radius: 6px;
  display: inline;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0.3rem 0.5rem;
}
.pill {
  display: inline;
  margin: 0 0.2rem 0.2rem 0;
}
.cards-wrapper {
  width: 100%;
  margin: 0;
}

@media only screen and (max-width: 576px) {
  .section-cases-padding {
    padding: 1rem;
  }
}
@media only screen and (min-width: 577px) and (max-width: 990px) {
  .section-cases-padding {
    padding: 1rem;
  }
}

@media only screen and (max-width: 576px) {
  .carousel-item,
  .carousel-inner,
  .work-card {
    margin: 0;
    padding: 0;
    margin-top: 5rem;
  }
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}
@media (min-width: 768px) {
  .card img {
    height: 11em;
  }
}

/* LOGO SLIDER */

.logos-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logos-slide {
  display: flex;
  animation: slide-left 20s linear infinite;
}

.logos-slide img {
  height: 60px; /* Adjust logo height */
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*CONTACT*/

form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: 0 0 transparent;
}

.form-control {
  background-color: #fffacd;
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid #616161;
  padding: 8px 0 4px 0;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: #fffdea;
  border-color: #bff81d;
  box-shadow: 0 0 0 0.25rem #bff81d;
}

/* FOOTER */

.footer {
  padding-bottom: 10px;
}
.footer-padding {
  padding: 2px 100px;
}

/*WORK PAGE*/

.section-padding {
  padding: 100px;
}
.section-cases-padding {
  padding: 100px;
  padding-top: 1rem;
}

/*STUDY CASE*/

.h6 {
  font-size: 0.8rem;
  font-weight: 600;
  display: inline;
}

.p-label {
  font-size: 0.8rem;
  line-height: 3.6rem;
  font-weight: 400;
  display: inline;
  background-color: #282828;
  color: #fff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
  display: inline;
}

.filters {
  background-color: #282828;
  border-radius: 14px;
  margin: 0 0 2rem 0;
  padding: 0.3rem 0.3rem 0.4rem 0.3rem;
}

.nav-tabs .nav-link.active {
  background-color: #fff;
  color: #282828;
  border: solid 1px #282828;
  border-bottom-color: transparent; /* Remove bottom border when active */
  padding: 1rem;
}

.nav-tabs .nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  border: solid 1px #282828;
  border-radius: 12px;
  padding: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.nav-tabs {
  --bs-nav-tabs-border-width: 0; /* Remove default bottom border */
}

.nav-tabs .nav-link:hover {
  background-color: transparent; /* Background color on hover */
  color: white; /* Text color on hover */
  border: solid 1px #fff;
}

.d-row-center {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}
.d-column-start {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.border {
  padding: 1rem;
  border: solid 2px #ff7235;
  border-radius: 12px;
}

@media only screen and (max-width: 576px) {
  .nav-tabs .nav-link {
    width: 40vw;
    margin: 0 0.2rem;
  }
}
@media only screen and (min-width: 577px) and (max-width: 990px) {
}
