@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DM_Sans/DMSans-VariableFont_opsz\,wght.ttf') format('woff2');

}

html{
  scroll-behavior:smooth;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'DM Sans';
}


.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 40px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  z-index: 10;
}


.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 10px 16px;
  border: 1px solid #FFEBAE;
  border-radius: 6px;

  background: rgba(255,235,174,0.3);
  transition: 0.2s;
}


.logo img {
  height: 28px;   
  width: auto;
  display: block;
  max-height: 100%;
}

.logo:hover{
  background: #FFEBAE;
  color: black;
}


.nav-pill {
  justify-self: center;
  display: flex;
  gap: 20px;

  padding: 8px 16px;
  border: 1px solid #FFEBAE;
  border-radius: 8px;
  background: rgba(255,235,174,0.3); 
  backdrop-filter: blur(6px);
}


.nav-pill a {
  text-decoration: none;
  color: #FFEBAE;
  font-size: 14px;
  padding: 6px 10px;
  transition: 0.2s;
}

.nav-pill a:hover {
  background: #FFEBAE;
  color: black;
  border-radius: 4px;
}


.cta-btn {
  background: rgba(255,235,174,0.3);
  justify-self: end;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid #FFEBAE;
  border-radius: 6px;
  color: #FFEBAE;
  transition: 0.2s;
}

.cta-btn:hover {
  background: #FFEBAE;
  color: black;
}


.what-we-do{
  position:relative;

  width:100%;
  min-height:100vh;

  padding:160px 110px 120px;

  overflow:hidden;
  color:white;

  background:#000;

  perspective: 1px;
}

.what-we-do::before{
  content:"";

  position:absolute;
  inset:0;

  background-image:url('../photos/whatwedo.jpg');
  background-size:cover;
  background-position:center;

  background-attachment:fixed;

  z-index:0;

  transform:scale(1.1);
}


.what-we-do-bg{
  position:absolute;
  inset:0;

  width:100%;
  height:120%;

  object-fit:cover;

  z-index:1;

  filter:blur(1px);

  transform:translateZ(-1px) scale(2);

  will-change: transform;
}



.what-we-do-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.52);
  z-index:2;
}



.what-we-do-content{
  position:relative;
  z-index:3;
  max-width:1600px;
  margin:auto;
  transform: translateZ(0);
  will-change: transform;
}



.top-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap:90px;
  align-items:start;

  margin-bottom:95px;
}

.section-title{
  font-size:48px;
  font-weight:300;
  line-height:1.05;
  color:white;
}

.top-text{
  max-width:980px;
}

.top-text p{
  font-size:22px;
  line-height:1.45;
  font-weight:300;
  color:#f3f3f3;
  margin-bottom:55px;
}

.top-text p:last-child{
  margin-bottom:0;
}



.divider{
  width:100%;
  height:1px;
  background:rgba(255,255,255,0.85);

  margin-bottom:90px;
}



.bottom-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap:120px;
  align-items:start;
}

.bottom-left{
  max-width:1050px;
}

.bottom-left p{
  font-size:22px;
  line-height:1.55;
  font-weight:300;
  color:#f3f3f3;
  margin-bottom:60px;
}

.bottom-left p:last-child{
  margin-bottom:0;
}

.role-title{
  font-size:48px;
  font-weight:300;
  color:white;
  line-height:1.05;
  padding-top:10px;
}


.contact-section{
  position:relative;

  width:100%;

  padding:90px 100px 110px;

  background:
    linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.82)),
    url('../photos/hands.jpg');

  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}

.contact-container{
  max-width:1100px;
}



.contact-title{
  font-size:48px;
  font-weight:300;
  line-height:1.05;
  margin-bottom:50px;
  color:white;
}


.contact-block{
  max-width:1600px;
  margin-bottom:50px;
}

.contact-block:last-child{
  margin-bottom:0;
}

.contact-block p{
  font-size:20px;
      line-height:1.65;
      font-weight:300;
      color:#f3f3f3;
      letter-spacing:-0.2px;
    }



    .contact-block a{
      color:white;
      text-decoration:underline;
      text-underline-offset:6px;
      transition:0.3s ease;
    }

    .contact-block a:hover{
      opacity:0.75;
    }

.footer {
  background: linear-gradient(180deg, #1b1b1b, #141414);
  padding: 30px 40px;
  color: white;
}

.footer-single-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  max-width: 1400px;
  margin: auto;

  flex-wrap: wrap; 
}

.footer-brand {
  font-size: 18px;
  font-weight: 500;
  color: #FFEBAE;
  letter-spacing: -0.5px;
}

.footer-text,
.footer-tagline {
  font-size: 12px;
  opacity: 0.65;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #FFEBAE;
}

.footer-cta-btn {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid #FFEBAE;
  border-radius: 999px;
  color: #FFEBAE;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-cta-btn:hover {
  background: #FFEBAE;
  color: #111;
}



/* =========================================
   FADE UP ANIMATION
========================================= */

.fade-up{
  opacity:0;
  transform:translateY(60px);

  animation:fadeUp 1s ease forwards;
}

.fade-delay-1{
  animation-delay:0.2s;
}

.fade-delay-2{
  animation-delay:0.4s;
}

.fade-delay-3{
  animation-delay:0.6s;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

  body {
    overflow-x: hidden;
  }

  /* =========================================
     NAVBAR
  ========================================= */

  .navbar {
    padding: 20px 24px;
  }

  .nav-pill {
    gap: 12px;
    padding: 8px 12px;
  }

  /* =========================================
     WHAT WE DO
  ========================================= */

  .what-we-do {
    padding: 140px 50px 100px;
  }

  .top-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

    .bottom-grid {
    display: flex;
    flex-direction: column;
  }

  .bottom-right {
    order: 1; /* Our Role */
  }

  .bottom-left {
    order: 2; /* Paragraph */
  }

  .section-title,
  .role-title,
  .contact-title {
    font-size: 42px;
  }

  .top-text p,
  .bottom-left p {
    font-size: 20px;
    line-height: 1.6;
  }

  .divider {
    margin-bottom: 60px;
  }

  /* =========================================
     CONTACT SECTION
  ========================================= */

  .contact-section {
    padding: 80px 50px 100px;
  }

  .contact-block p {
    font-size: 18px;
    line-height: 1.7;
  }


}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* =========================================
     NAVBAR
  ========================================= */

  .navbar {
    padding: 20px;
  }

  /* =========================================
     PARALLAX FIX
  ========================================= */

  .what-we-do::before,
  .contact-section {
    background-attachment: scroll;
  }

  /* =========================================
     WHAT WE DO SECTION
  ========================================= */

  .what-we-do {
    min-height: auto;
    padding: 120px 20px 80px;
  }

  .top-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section-title,
  .role-title {
    font-size: 34px;
    line-height: 1.1;
  }

  .top-text p,
  .bottom-left p {
    font-size: 18px;
    line-height: 1.7;

    margin-bottom: 36px;
  }

  .divider {
    margin-bottom: 50px;
  }

  /* =========================================
     CONTACT SECTION
  ========================================= */

  .contact-section {
    padding: 70px 20px 80px;
  }

  .contact-title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .contact-block {
    margin-bottom: 36px;
  }

  .contact-block p {
    font-size: 17px;
    line-height: 1.7;
  }

  /* =========================================
     FOOTER
  ========================================= */



  /* =========================================
     ANIMATION PERFORMANCE
  ========================================= */

  .fade-up {
    animation-duration: 0.8s;
  }

}

/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 1024px) {


.nav-pill,
.cta-btn {
  display: none;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 24px;
}


.menu-toggle {
  position: fixed;
  top: 20px;
  right: 24px;

  width: 52px;
  height: 52px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;

  background: rgba(255,235,174,0.15);
  backdrop-filter: blur(10px);

  border: 1px solid #FFEBAE;
  border-radius: 12px;

  cursor: pointer;
  z-index: 2000;
}


.menu-toggle span {
  width: 22px;
  height: 2px;

  background: #FFEBAE;
  border-radius: 2px;
}


.mobile-menu {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(18px);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.35s ease;

  z-index: 1999;
}


.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.close-menu {
  position: absolute;
  top: 24px;
  left: 24px;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,235,174,0.15);
  backdrop-filter: blur(10px);

  border: 1px solid #FFEBAE;
  border-radius: 12px;

  color: #FFEBAE;
  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  transition: 0.25s ease;

  z-index: 2001;
}

.close-menu:hover {
  background: #FFEBAE;
  color: black;

  transform: rotate(90deg);
}

.close-menu:hover {
  background: #FFEBAE;
  color: black;

  transform: rotate(90deg);
}


.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;

  text-align: center;
}

.mobile-nav a {
  color: white;
  text-decoration: none;

  font-size: 42px;
  font-weight: 300;

  transition: 0.2s ease;
}

.mobile-nav a:hover {
  color: #FFEBAE;
}

.footer {
    padding: 30px 20px;
  }

  .footer-single-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    max-width: 100%;
  }


  .footer-brand {
    font-size: 18px;
  }

 
  .footer-text,
  .footer-tagline {
    font-size: 12px;
    opacity: 0.65;
    white-space: normal; 
    line-height: 1.4;
  }


  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-links a {
    font-size: 13px;
  }


  .footer-cta {
    width: 100%;
  }

  .footer-cta-btn {
    display: inline-block;
    width: 100%;
    text-align: center;

    padding: 10px 14px;
    border-radius: 12px;
  }

}

