@font-face {
  font-family: nb;
  src: url(../css/fonts/nb.woff);
}
@font-face {
  font-family: nblight;
  src: url(../css/fonts/nblight.woff);
}
@font-face {
  font-family: integral;
  src: url(../css/fonts/integral.woff2);
}

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

html {
scroll-behavior: smooth;
scroll-behavior: smooth;
scroll-padding-top: 64px;
}

body {
background-color: #ffffff;
}


:root {
--z-tooltip: 10;
--z-fixed: 100;
}

ul {
list-style: none;
}

a {
text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
margin-inline: 24px;
}

/*=============== HEADER & NAV ===============*/
.header {
position: fixed;
width: 100%;
top: 0;
left: 0;
padding: 0 0;
background-color: white;
z-index: var(--z-fixed);
}

.nav {
position: relative;
height: 64px;
display: flex;
justify-content: space-between;
align-items: center;
}

.nav__logo {
height: 32px;
transition: 0.4s ease;
background-color: #bf3;
}

.nav__logo:hover {
  height: 32px;
  transform: scale(1.05);
  background-color: #bf3;
}

.nav__close, 
.nav__toggle {
display: flex;
color: #141414;
font-size: 24px;
cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
.nav__menu {
  position: fixed;
  left: -100%;
  top: 0;
  background-color: #bf3;
  width: 100%;
  height: 100%;
  padding: 96px 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: left .4s;
}

.nav__item {
  font-family: 'nb';
  transform: translateX(-150px);
  visibility: hidden;
  transition: transform .4s ease-out, visibility .4s;
}

.nav__item:nth-child(1) {
  transition-delay: .1s;
}
.nav__item:nth-child(2) {
  transition-delay: .2s;
}
.nav__item:nth-child(3) {
  transition-delay: .3s;
}
.nav__item:nth-child(4) {
  transition-delay: .4s;
}
.nav__item:nth-child(5) {
  transition-delay: .5s;
}
}

.nav__list, 
.nav__social {
display: flex;
}

.nav__list {
flex-direction: column;
row-gap: 48px;
}

.nav__link {
position: relative;
color: #141414;
font-family: 'nb';
font-size: 24px;
display: inline-flex;
align-items: center;
transition: opacity .4s;
}

.nav__link i {
font-size: 32px;
position: absolute;
opacity: 0;
visibility: hidden;
transition: opacity .4s, visibility .4s;
}

.nav__link span {
position: relative;
transition: margin .4s;
}

.nav__link span::after {
content: "";
position: absolute;
left: 0;
bottom: -6px;
width: 0;
height: 2px;
background-color: #141414;
transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
margin-left: 40px;
}

.nav__link:hover i {
opacity: 1;
visibility: visible;
}

.nav__link:hover span::after {
width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
opacity: .4;
}

.nav__close {
position: absolute;
top: 16px;
right: 24px;
}

.nav__social {
column-gap: 16px;
}

.nav__social-link {
color: #141414;
font-size: 24px;
transition: transform .4s;
}

.nav__social-link:hover {
transform: translateY(-4px);
}

/* Show menu */
.show-menu {
left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
visibility: visible;
transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
.container {
  margin-inline: 24px;
}

.nav__toggle, 
.nav__close {
  display: none;
}

.nav__link {
  font-size: var(--normal-font-size);
}

.nav__link i {
  font-size: 24px;
}

.nav__list {
  flex-direction: row;
  column-gap: 56px;
}

.nav__menu {
  display: flex;
  align-items: center;
  column-gap: 56px;
  
}
}

footer {
  background-color: #141414;
  padding: 24px;
  text-align: left;
  font-family: 'nblight', sans-serif;
  line-height: normal;
  letter-spacing: .2px;
  position: relative; /* To allow absolute positioning inside */
  text-decoration: none;
}

footer p {
  margin-bottom: 4px;
  text-decoration: none;
}

/* Desktop font sizes and colors */
footer p:first-of-type,
footer p:nth-of-type(3) {
  font-size: 10px;
  font-family: 'nblight', sans-serif;
  color: #ffffff80;
  text-decoration: none;
}

footer p:nth-of-type(2),
footer p:nth-of-type(4) {
  font-size: 12px;
  font-family: 'nblight', sans-serif;
  color: #ffffff;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
}

footer p:last-of-type {
  font-size: 10px;
  font-family: 'nblight', sans-serif;
  color: #ffffff80;
  display: flex;
  align-items: baseline;
}

footer p:last-of-type i {
  margin-right: 4px;
}

.footer-logo {
  height: 16px;
  position: absolute;
  bottom: 16px;/* Adjust to match footer padding */
  right: 12px; /* Adjust to match footer padding */
  transition: .4s ease;
}

.footer-logo:hover {
  transform: scale(1.04);
}

@media (max-width: 360px) {
  .footer-logo {
    opacity: 0;
  }
}

.title {
  margin: 88px 24px 24px 24px;
}

.circle {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #bf3;
  border-radius: 50%;
  vertical-align: middle;
}

.getintouch-btn {
  font-family: 'nblight';
  font-size: 16px;
  border-style: none;
  border-radius: 32px;
  color: #141414;
  background-color: #bf3;
  padding: 8px 16px;
  margin-top: 24px;
  transition: 0.4s ease;
}

.getintouch-btn:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}

.getintouch-btn:active {
  color: #bf3;
  background-color: #141414;
}



h1 {
  font-family: 'nblight';
  font-weight: normal;
  font-size: 32px;
}

h2 {
  font-family: 'nblight';
  font-weight: normal;
  font-size: 24px;
}

p {
  font-weight: normal;
}

/* Project details section styling */
.project-details {
  margin-top: 24px;
  text-align: left;
}

/* Individual detail items */
.detail-item {
  margin-bottom: 10px;
}

/* Label styling for PROJECT and YEAR */
.label {
  font-family: 'nblight';
  font-size: 12px;
  line-height: 1.5;
  color: #14141440;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: .2px;
}

/* Detail text styling */
.detail {
  font-family: 'nblight';
  font-size: 16px;
  line-height: 1.5;
  color: #14141480;
  margin: 0;
  letter-spacing: .2px;
}

@media (max-width: 768px) {
  .label {
    font-size: 10px;
  }
  .detail {
    font-size: 12px;
  }
}


/* About Page Layout with Grid */
.about-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 24px;
  margin-top: 64px;
}

/* Left Section: Photo */
.about-photo {
  grid-column: span 6; /* Spans 4 columns */
  background-color: #fff;
  border-radius: 8px;
}

.about-photo img {
  width: 50%;
  height: auto;
  border-radius: 8px;
}

/* Right Section: Text */
.about-text {
  grid-column: span 5; /* Spans 6 columns */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text h2 {
  font-size: 32px;
  font-family: 'nblight', sans-serif;
  margin-bottom: 24px;
  line-height: 1.25;
}

.about-text p {
  margin: 0;
}

.description {
  font-family: 'nblight', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Call to Action */
.cta {
  margin-top: 24px;
}

.cta p {
  font-family: 'nblight', sans-serif;
  font-size: 20px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.cta-button {
  background-color: #005A9C;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #004080;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-container {
      grid-template-columns: 1fr; /* Stack everything in one column */
      padding: 24px 24px 48px 24px;
  }

  .about-photo {
    grid-column: span 12; /* Full width on mobile */
    margin-bottom: 24px;
    justify-content: flex-end; /* Align the image to the right */
    display: flex; /* Flexbox to control layout */
  }

  .about-text {
      grid-column: span 12; /* Full width on mobile */
  }
}



.contact-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  color: #141414;
  transition: 0.4s ease;
  width: fit-content;
}

.contact-item:hover {

  transform: scale(1.04);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}

.icon {
  font-size: 24px;
  color: #141414;
  margin-right: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.contact-info .small-text {
  font-family: 'nblight';
  font-weight: normal;
  font-size: 12px;
  color: #14141480;
}

.contact-info .large-text {
  font-family: 'nblight';
  font-weight: normal;
  font-size: 16px;
  color: #141414;
}

.contact-photo {
  display: block;
  width: 100%;
}

.treeimg {
  width: 100%;
}