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

html {
  scroll-behavior: smooth;
}

:root {
  --darkorange:#ff4e00;
  --orange:#F96210;
  --lightorange: #FA894C;
  --black:#0A0A0A;
  --darkgray:#252525;
  --medgray:#A3A3A3;
  --gold: #ffb300;
  --gray:#3b3b3b;
  --lg:#D6D6D6;
  --header-height:85px;
  --orange-gradient:linear-gradient(to bottom, rgba(255, 78, 0, .95), rgba(250, 137, 76, .9));
  --orange-gold-gradient:linear-gradient(to bottom, rgba(249, 98, 16, 0.95), rgba(255, 179, 0, 0.9));;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: white;
  font-size:16px;
  letter-spacing: .5px;
  margin: 0px;
}

h1,h2,h3,h4{
   font-family: 'Poppins', sans-serif;
   letter-spacing: 2px;
}

h1{
  margin: 0 0 40px;
  font-size: 2.5em;
  line-height: 1.3em;
}

h1 span.gradient-title {
  display: inline-block;
  background: linear-gradient(to right, var(--gold), var(--darkorange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2{
  font-weight: 300;
  margin:0 0 20px;
}

h3{
  margin: 0 0 20px;
}

p{
  margin: 0 0 20px;
  line-height: 1.5em;
}

a{
  text-decoration: none;
  transition: .4s;
  color: inherit;
}

ul{
  padding-left:40px;
  margin-bottom: 20px;
}

ul li{
  margin-bottom: 5px;
}


.subpage-content p a{
  border-bottom: 1px solid #ec7a15;
}

.subpage-content p a:hover{
  color:#ec7a15;
}

a.cta-btn{
  padding:10px 20px;
  border-radius: 5px;
  background: var(--orange);
  color: white;
  border:2px solid var(--orange);
  font-weight: bold;
  letter-spacing: 2px;
  display: block;
  width: fit-content;
  min-width: 200px;
  text-align: center;
  margin:40px auto 0;
}

a.cta-btn i{
  margin-right:5px;
}

a.cta-btn:hover{
  background: transparent;
}

/** -------DESKTOP/TABLET HEADER STYLES------- **/


#mobileNav{
    display: none;
  }

#desktopNav{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
/*    justify-items: center;*/
  align-items: center;
  transition: all .4s;
  position: fixed;
  top: 0;
  z-index: 10;
  background: transparent;
  padding:0px 40px;
  width: 100%;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  letter-spacing: 2px;
  font-weight: 600;
}

.desktop-icon{
  display: flex;
  justify-self: flex-start;
  align-items: center;
}

.desktop-icon:hover{
  color: var(--orange);
}

.desktop-icon:hover .bar{
  background: var(--orange);
}

.bar-container {
  position: relative;
  width: 25px;
  height: 60px;
  margin-right: 12px;
  z-index: 12;
}

.bar {
  width: 100%;
  height: 2.5px;
  background: white;
  position: absolute;
  transition: 0.3s ease;
  transform-origin: center;
}

.top-bar {
  top: 35%; /* Positioned near the top */
  left: 50%;
  transform: translate(-50%, -50%);
}

.middle-bar {
  top: 50%; /* Centered */
  left: 50%;
  transform: translate(-50%, -50%);
}

.bottom-bar {
  top: 65%; /* Positioned near the bottom */
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Rotate into an "X" when open-nav class is active */
.open-nav .top-bar {
  top:50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.open-nav .middle-bar {
  transform: translate(-50%, -50%) scale(0); /* Hides middle bar */
}

.open-nav .bottom-bar {
  top:50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#desktopNav.scrolled{
  background: rgba(0, 0, 0, .95);
}

#sideNav{
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: width 0.4s ease;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 11;
  top:0;
  left:0;
  letter-spacing: 1px;
  background: linear-gradient(to right, var(--black), var(--darkgray));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; 
  padding-top:100px !important;
  scrollbar-width: thin; 
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  will-change: transform;
}

.open-nav #sideNav{
  width: 400px;
  padding: 60px 20px 60px 40px;
}

#sideNav::-webkit-scrollbar {
  width: 10px;
  transition: .4s;
}

#sideNav::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

#sideNav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2); /* semi-transparent white */
  border-radius: 10px;
  backdrop-filter: blur(4px);  /* frosted blur effect */
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#sideNav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

#sideNav h3{
  color: var(--orange);
  opacity: 0;
  transition: .4s;
  border-bottom: 1px solid rgba(255,255,255, .1);
  width: 100%;
  padding-bottom: 5px;
}

a.sidenav-item {
  padding: 8px 12px;
  margin:10px 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  font-size: 1em;
  color: rgba(255, 255, 255, .8);
  transition: 0.3s;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.5s ease, transform .5s ease;
  position: relative;
  width: 100%;
}

a.sidenav-item i{
  color: rgba(255, 255, 255, .6);
  font-size: 1em;
  margin-left: auto;
  transition: .4s;
}

a.sidenav-item:before{
  position: absolute;
  content: '';
  background:rgba(255, 255, 255, .2);
  left:0;
  top:0;
  height: 100%;
  width: 0;
  z-index: -1;
  transition: .4s;
}

a.sidenav-item:hover span{
  color: white;
  filter:
    drop-shadow(0 0 3px #ffffff44)
    drop-shadow(0 0 6px #ffffff33);
}

a.sidenav-item:hover i {
  color: var(--orange);
  filter:
    drop-shadow(0 0 5px #ff6a0066)
    drop-shadow(0 0 10px #ff6a0099);
}

a.sidenav-item:hover:before{
  width: 100%;
}

.divider{
  height: 2px;
  width: 100%;
  margin:40px 0 60px;
  background: linear-gradient(to right, #444, #777, #444);
}

.sidenav-contact{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  paddi
  width: 100%;
  font-size: .9em;
  opacity: 0;
  transition: .4s;
}

.sidenav-contact h3{
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidenav-contact a{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 20px;
  padding: 8px 12px;
}

.sidenav-contact a i{
  margin-right:10px;
  color: rgba(255, 255, 255, .5);
  font-size: .9em;
  transition: .4s;
}

.sidenav-contact a:hover, .sidenav-contact a:hover i{
  color: var(--orange);
}

/* Add fade/slide-in only when nav is open */
.open-nav #sideNav a, .open-nav #sideNav h3, .open-nav .sidenav-contact{
  opacity: 1;
  transform: translateX(0);
}

.sidenav-contact a:hover{
  transform: translateY(-1px) !important;
}

/* Staggered animation */

.open-nav #sideNav h3:first-of-type{
  transition-delay: .2s;
}
.open-nav #sideNav .sidenav-item:nth-of-type(1) {
  transition-delay: 0.25s;
}

.open-nav #sideNav .sidenav-item:nth-of-type(2) {
  transition-delay: 0.35s;
}

.open-nav #sideNav .sidenav-item:nth-of-type(3) {
  transition-delay: 0.45s;
}

.open-nav #sideNav .sidenav-contact {
  transition-delay: 0.65s;
}

a#desktopLogo {
  display: inline-block;
  width: 145px;
  margin:0 auto;
  line-height: 1em;
}

a#desktopLogo.scrolled{
  width: 115px;
}

a#desktopLogo img{
  width: 100%;
  height: auto;
}

#desktopLogo.scrolled{
  width: 140px;
}

#primaryMenu{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 450px;
  justify-self: end;
}

#primaryMenu a, .d-btn{
  margin:15px 0;
  display: inline-block;
}

#primaryMenu a:hover, .d-btn:hover{
  color: var(--orange);
}

.dropdown{
  position: relative;
}

.d-btn i{
  margin-left:7px;
  transition: .5s;
}

.dropdown:hover .hidden-menu{
  display: flex;
}

.dropdown:hover .d-btn i{
  transform: rotate(180deg);
}

.hidden-menu {
  display: none;
  position: absolute;
  flex-direction: column;
  align-items: flex-start;
  justify-self: center;
  left:-25px;
/*    padding:20px;*/
  width: 315px;
  font-weight: 500;
  font-size: .85em;
  color: var(--lg);
  border-radius: 12px;
  padding: 15px;
  padding-right: 0px;
  background: linear-gradient(135deg, #1a1a1a, #111); /* dark card bg */
  border-radius: 12px;
  padding: 15px;
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.05), /* soft orange inner glow */
    0 8px 16px rgba(0, 0, 0, 0.3);           /* soft outer shadow */
  transition: all 0.3s ease-in-out;
}

.hidden-menu a{
  padding:8px 16px 8px 18px;
  display: flex;
  width: 100%;
  justify-self: flex-start;
  align-items: center;
  position: relative;
  z-index: 1;
  margin:0 !important;
}

.hidden-menu a:hover{
  color: white !important;
}

.hidden-menu span{
  display: inline-block;
  font-size: .8em;
  opacity: 0.7;
}

.hidden-menu a:before{
  background: linear-gradient(90deg, var(--gold), var(--darkorange), transparent);
  position: absolute;
  content: '';
  height: 100%;
  top:0;
  left:0;
  width: 4px;
  transition: .4s;
  z-index: -1;
}

.hidden-menu a:hover:before{
  width: 100%;
}

.hidden-menu a:hover{
  color: white;
}

.hidden-menu a i{
  margin-right:7px;
  transition: .4s;
}

.hidden-menu a:hover i{
  transform: scale(1.1);
}

.hidden-menu {
  animation: fadeIn .5s;
  -webkit-animation: fadeIn .5s;
  -moz-animation: fadeIn .5s;
  -o-animation: fadeIn .5s;
  -ms-animation: fadeIn .5s;
}
@keyframes fadeIn {
  0% {opacity:0; transform: translateY(-20px);}
  100% {opacity:1; transform: translateY(0px);}
}

@-moz-keyframes fadeIn {
  0% {opacity:0; transform: translateY(-20px);}
  100% {opacity:1; transform: translateY(0px);}
}

a.get-started{
  position: relative;
  width: fit-content;
  padding:10px 15px;
  text-align: center;
  letter-spacing: 2px;
  overflow: hidden;
  background: var(--orange);
  border-radius: 5px;
}

a.get-started:before{
  content: '';
  position: absolute;
  left:-100%;
  top:0;
  background: var(--darkorange);
  height: 3px;
  width: 100%;
  transition: all .5s;
}

a.get-started:hover:before{
  left:0px;
}

a.get-started:after{
  content: '';
  position: absolute;
  right:-100%;
  bottom:0;
  background: var(--orange);
  height: 3px;
  width: 100%;
  transition: all .5s;
}

a.get-started:hover:after{
  right:0;
}

a.get-started span:before{
  content: '';
  position: absolute;
  top:-100%;
  left:0;
  background: var(--darkorange);
  height: 100%;
  width: 3px;
  transition: all .5s;
}

a.get-started:hover span:before{
  top:0px;
}

a.get-started span:after{
  content: '';
  position: absolute;
  bottom:-100%;
  right:0;
  background: var(--orange);
  height: 100%;
  width: 3px;
  transition: all .5s;
}

a.get-started:hover span:after{
  bottom:0px;
}

a.get-started:hover{
  background: transparent;
}

/* -------HOMEPAGE RECENT PROJECT CAROUSEL------- */

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.recent-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 100%; /* Mobile first - full width on small screens */
  max-width: 100%;
  padding: 0 15px; /* Increased padding for better spacing */
  box-sizing: border-box;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive breakpoints to match JavaScript logic */
@media (min-width: 768px) {
  .recent-project {
    flex: 0 0 50%; /* 2 cards per slide on tablets */
    max-width: 50%;
  }
}

@media (min-width: 1099px) {
  .recent-project {
    flex: 0 0 33.333%; /* 3 cards per slide on desktop */
    max-width: 33.333%;
  }
}

.recent-project-img {
  width: 280px;
  height: 280px;
  border-radius: 15%;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Softer, more modern shadow */
  margin-bottom: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Responsive image sizes */
@media (max-width: 767px) {
  .recent-project-img {
    width: 240px;
    height: 240px;
  }
}

@media (min-width: 768px) and (max-width: 1098px) {
  .recent-project-img {
    width: 260px;
    height: 260px;
  }
}

.recent-project-img:hover .recent-project-img img {
  transform: translateY(-8px) scale(1.02); /* Added hover effect */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.recent-project-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.3s ease;
}

.recent-project-img:hover img {
  transform: scale(1.1); /* Subtle zoom on hover */
}

.recent-project h3 {
  text-align: center;
  font-size: 1.8em;
  font-weight: 600; /* Slightly bolder for better hierarchy */
  color: var(--darkorange);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

/* Responsive typography */
@media (max-width: 767px) {
  .recent-project h3 {
    font-size: 1.5em;
  }
}

.recent-project p {
  text-align: center;
  margin: 0 0 20px 0;
  line-height: 1.5;
  color: #666;
  font-size: 0.95em;
}

.recent-project a {
  padding: 10px 20px; /* More generous padding */
  color: white;
  background: var(--darkgray);
  border-radius: 25px; /* More rounded for modern look */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.recent-project a:hover {
  background: var(--orange);
  transform: translateY(-2px); /* Subtle lift effect */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Fade in animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation delays for smoother appearance */
.recent-project:nth-child(1) {
  animation-delay: 0.1s;
}
.recent-project:nth-child(2) {
  animation-delay: 0.2s;
}
.recent-project:nth-child(3) {
  animation-delay: 0.3s;
}
.recent-project:nth-child(4) {
  animation-delay: 0.1s;
}
.recent-project:nth-child(5) {
  animation-delay: 0.2s;
}
.recent-project:nth-child(6) {
  animation-delay: 0.3s;
}

/* Loading state for better UX */
.slider-wrapper.loading .recent-project {
  opacity: 0;
}

/*STICKY SCROLLING HOMEPAGE STYLES*/

#scroll-wrapper {
  min-height: 100vh;
  position: relative;
/*    padding-top:85px;*/
}

#what-we-do{
  position: relative; /* was sticky — this caused stacking issues */
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}

#what-we-do .container{
  width: 100%;
  max-width: 100%;
  padding-left:calc((100% - 1100px) / 2);
  padding-right:20px;
}

h1.background-title{
  position: absolute;
  top: 60px;
  left: 10%;
  transform: translateX(-10%);
  font-size: 7em;
  letter-spacing: 20px;
  z-index: 0;
  color: var(--gray);
  font-weight: 300;
  padding-top: 30px;
  pointer-events: none;
}

#service-stack{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.homepage-service {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: var(--header-height) 5% 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8), 
    rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), transparent);
  /* Enhanced gradient background for better depth */
}

.homepage-service.active {
  opacity: 1;
  /*transform: translateY(0);*/
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-service:not([style*="opacity: 1"]) {
  pointer-events: none;
}

.service-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 50%;
  padding-right: 60px;
  /* Increased padding for better spacing */
}

#maintenance-text{
  width: 80%;
}

.service-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 78, 0, 0.1);
  border-radius: 24px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.3s ease;
  /* Added background, border radius, and hover effects */
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #ff4e00, #ffb300);
  border-radius: 24px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  /* Added gradient border effect */
}

.service-icon:hover {
  transform: translateY(-4px);
  background: rgba(255, 78, 0, 0.15);
  /* Added hover animation */
}

.service-icon img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 12px rgba(255, 78, 0, 0.3));
  /* Added drop shadow for depth */
}

.service-icon i {
  font-size: 3rem;
  background: linear-gradient(135deg, #ff4e00, #ffb300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Added gradient text effect for FontAwesome icons */
}

.service-text-content {
  padding-left: 50px;
  width: 90%;
  /* Increased padding for better spacing */
}

.service-text h3 {
  font-size: 3.5em;
  line-height: 1.1em;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  /* Enhanced typography with better spacing and weight */
}

.service-text h3 span {
  background: linear-gradient(135deg, #ff4e00, #ffb300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Changed to gradient text instead of solid color */
}

.service-text p {
  font-size: 1.05em;
  line-height: 1.6em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  /* Enhanced paragraph styling with better readability */
}

.service-img {
  width: 50%;
  padding-top: 10px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(255, 78, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Added border radius, shadow, and hover effects */
}

.service-img img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(255, 78, 0, 0.2);
  /* Added hover animation for images */
}

/* Added responsive design improvements */
@media (max-width: 1024px) {
  .service-text h3 {
    font-size: 2.8em;
  }

  .service-icon {
    width: 100px;
    height: 100px;
  }

  .service-text-content {
    padding-left: 30px;
  }
}

@media (max-width: 768px) {

  #what-we-do {
    position: relative;
    height: 100svh; /* was 100vh */
    overflow: hidden;
    background: var(--black);
  }

  .homepage-service {
    flex-direction: column;
    padding: var(--header-height) 5% 40px;
    text-align: center;
    height: 100svh;
  }

  .service-text {
    width: 100%;
    padding-right: 0;
    flex-direction: column;
    align-items: center;
  }

  .service-text p{
    text-align: left;
  }

  .service-text-content {
    padding-left: 0;
    padding-top: 30px;
    width: 100%;
  }

  .service-img {
    width: 100%;
    padding-top: 0;
  }

  .service-text h3 {
    font-size: 2.2em;
  }
}



/* -------HOMEPAGE PROJECT SPOTLIGHT STYLES------- */

#project-spotlight-placeholder {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.93)),
    url(images/city-background-thin.webp) no-repeat bottom center;
  background-size: cover;
  color: var(--black);
  text-align: center;
  padding: 80px 20px;
}

#project-spotlight-placeholder .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Enhanced typography with subtle text shadow */
#project-spotlight-placeholder h1 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--medgray);
  letter-spacing: 3px;
}

#project-spotlight-placeholder p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  line-height: 1.6;
}

#project-spotlight-placeholder a {
  background: linear-gradient(to right, var(--darkorange), var(--gold));
  padding: 12px;
  color: white;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
  margin-top: 20px;
  display: block;
  width: 250px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  /* Added smooth transitions for all hover effects */
  transition: all 0.4s ease, letter-spacing 0.3s ease, transform 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.15em;
}

#project-spotlight-placeholder i{
  margin-right: 15px;
}

#project-spotlight-placeholder a:before {
  position: absolute;
  content: "";
  background: linear-gradient(to left, var(--darkorange), var(--gold));
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: .4s;
  left: 0;
  top: 0;
  z-index: -1;
}

#project-spotlight-placeholder a:hover:before {
  opacity: 1;
}

#project-spotlight-placeholder a:hover {
  letter-spacing: 2px;
  /* Added glow effect and subtle scale transform */
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4), 0 4px 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px) scale(1.02);
}

/* Added subtle focus state for accessibility */
#project-spotlight-placeholder a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.3);
}


#project-spotlight{
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .93)), 
  url(images/city-background-thin.webp) no-repeat bottom center;
  background-size: cover;
  color: var(--black);
  border-bottom:10px solid var(--orange);
  padding:100px 0;
}

#project-spotlight .container{
  width: 100%;
  max-width: 100%;
  padding-right:calc((100% - 1100px) / 2);
}

.spotlight-slider-container {
  overflow: hidden;
  width: 100%;
}

.spotlight-slider-track {
  display: flex;
  transition: transform 0.6s ease, opacity 0.6s ease;
  width: 100%;
}

.spotlight-slide{
  display: flex;
  flex: 0 0 100%;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-width: 100%;
  overflow: hidden;
}

.spotlight-dots {
  text-align: center;
  margin-top: 40px;
}

.spotlight-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 8px;
  display: inline-block;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .02);
  border:1.5px solid var(--gray);
  cursor: pointer;
  transition: 0.3s ease;
}

.spotlight-dots .dot.active {
  background-color: var(--orange);
  transform: scale(1.25);
  border:1.5px solid var(--orange);
}

.spotlight-img{
  width: 62%;
  height: 500px;
  border-left:none;
}

.spotlight-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3)
}

.spotlight-text{
  width: 33%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spotlight-text h3{
  font-weight: 900;
  font-size: 2em;
  color: var(--orange);
}

.spotlight-links{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top:20px;
}

.spotlight-links a{
  display: inline-block;
  font-weight: bold;
  font-size: 1.1em;
}

.spotlight-links a:first-of-type{
  background: black;
  padding:10px 20px;
  border-radius: 5px;
  color: white;
  margin-right: 30px;
  box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3);
}

.spotlight-links a:first-of-type:hover{
  background: var(--orange);
}

.spotlight-links a:nth-of-type(2){
  border-bottom: 2px solid var(--orange);
}

.spotlight-links a:nth-of-type(2):hover{
  color: var(--orange);
}

.spotlight-links a:first-of-type i{
  margin-right:10px;
}

.spotlight-links a:nth-of-type(2) i{
  margin-left:10px;
}


/*-----------SUBPAGE BASE SYTLES-----------*/

.subpage-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, var(--black), var(--darkgray));
  height: 300px;
  padding-top:145px;
}

@media (max-width: 767px) {
  .subpage-hero {
    height:200px;
  }
}


.subpage-hero .container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  z-index: 2;
}

.subpage-hero-tall{
  height: fit-content;
  padding:200px 20px 120px;
  position: relative;
}

 .subpage-hero-tall:before{
    position: absolute;
    content: '';
    bottom: 0;
    left:50%;
    transform: translateX(-50%);
    width: 100%;
    height: 90%;
    background: url(images/city-background-thin.webp) no-repeat bottom center;
    background-size: cover;
    opacity: .05;
    z-index: 0;
  }

.subpage-hero h1{
  text-align: center;
  line-height: 1.4em;
  font-size: 4em;
  letter-spacing: 3px;
}

.subpage-hero h1 span, .subpage-content h1 span{
  display: inline-block;
  background: linear-gradient(to right, var(--orange), var(--darkorange), var(--lightorange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-content h1{
  text-align: center;
  letter-spacing:  3px;
}

.subpage-hero p{
  font-size: 1.25em;
  letter-spacing: 1px;
  margin-bottom: 40px;
  max-width: 800px;
  text-align: center;
}

.subpage-hero a{
  display: inline-block;
  padding:12px 30px;
  text-align: center;
  color: white;
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.1em;
}

.subpage-hero a:hover{
  background: rgba(0, 0, 0, .3);
  color: var(--orange);
}

/*PORTFOLIO BASE STYLES*/

/*search bar*/
.portfolio-search-section {
  margin: 2rem 0;
  text-align: center;
  display: none;
}

.search-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto 1rem;
}

#portfolio-search {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 2px solid var(--gray);
  border-radius: 8px;
  background: rgba(255, 255, 255, .2);
  color: white;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

#portfolio-search:focus {
  outline: none;
  border-color: var(--orange);
}

#portfolio-search::placeholder {
  color: rgba(255,255,255, .4);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255, .3);
  pointer-events: none;
}

.portfolio-count {
  color: rgba(255,255,255, .3);
  font-size: 14px;
  margin-top: 0.5rem;
}

/* Pagination CSS */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination-btn {
  background: rgba(255,255,255, .2);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255,255,255, .5);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-number {
  background: rgba(255,255,255, .2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination-number:hover {
  background: rgba(255,255,255, .5);
}

.pagination-number.active {
  background: #f96210;
  color: white;
}

.pagination-ellipsis {
  color: #9ca3af;
  padding: 0 8px;
}


/*SERVICES SUBPAGES*/

/*web development subpage*/

.service-banner{
  background: linear-gradient(to right, var(--darkorange), var(--orange));
  padding:40px 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}

.banner-div{
  text-align: center;
  width: 33%;
  color: var(--black);
  border-right: 1px solid rgba(255,255,255,.3);
}

.banner-div:last-of-type{
  border-right: none;
}

.banner-div p{
  margin-bottom: 0px;
  font-weight: 500;
}

.banner-div span{
  display: block;
  font-size: 2em;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
}

p.sub-header{
  max-width: 800px;
  text-align: center;
  color: var(--lg);
  margin:0 auto 40px;
}

#service-content{
  position: relative;
  background: linear-gradient(to left, var(--black), var(--darkgray));
}

#service-features{
  background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)),   
  url(images/reno-background-light.jpg) no-repeat center;
  background-size: cover;
  color: var(--black);
}

#service-features p.sub-header{
  color: var(--black);
}

.process-section {
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 60px;
  color: rgba(255, 255, 255, 0.8);
}

/* Base styles (mobile - vertical timeline) */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Timeline line - vertical on mobile */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 70px;
  position: relative;
  z-index: 2;
}

.timeline-icon {
  min-width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 0 6px var(--black), 0 0 0 10px rgba(255, 165, 0, 0.3);
}

.timeline-icon i {
  font-size: 28px;
  color: white;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: white;
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-content {
  width: calc(50% - 50px);
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Content arrow - mobile */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--orange);
  font-weight: 600;
}

.timeline-content p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.timeline-details {
  list-style: none;
  margin-top: 15px;
}

.timeline-item:nth-child(odd) .timeline-details {
  padding-left: 20px;
}

.timeline-item:nth-child(even) .timeline-details {
  padding-right: 20px;
}

.timeline-details li {
  margin-bottom: 8px;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

.timeline-item:nth-child(odd) .timeline-details li::before {
  content: "•";
  color: var(--orange);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.timeline-item:nth-child(even) .timeline-details li::after {
  content: "•";
  color: var(--orange);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: 0.2em;
}

#process-section {
  background: linear-gradient(to left, var(--black), var(--darkgray));
}

/* Process CTA styles */
.process-cta {
  text-align: center;
  margin-top:40px;
}

.process-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.cta-button:hover {
  background: #e6940a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.process-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--orange);
}

.cta-button:hover {
  background: transparent;
  color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#service-portfolio {
  background: linear-gradient(to left, var(--lg), white);
  color: var(--black);
}

#service-portfolio p.sub-header{
  color: var(--black);
  margin-bottom: 20px;
}

/*CONTACT PAGE BASE STYLES*/

#contact-section{
  /*background: radial-gradient(circle at top left, var(--black), var(--black), var(--gray), var(--black), var(--black));*/
  background: url(images/hero-city.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}

.contact-section {
  background-color: #1d2733;
  color: #fff;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 350px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info h2 span {
  color: #ff6a00;
}

.contact-info p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.contact-detail i {
  font-size: 1.3rem;
  color: var(--orange);
  margin-top: 4px;
}

.contact-detail a{
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
}

.contact-detail a:hover{
  color: var(--orange);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  margin:0 auto;
}

.contact-form h3 {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: #fff;
}

.contact-form .input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1 1 48%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 1px;
}

.contact-form textarea {
  width: 100%;
  resize: none;
  margin-bottom: 1rem;
  line-height: 1.5em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form select {
  color: #ccc;
  background-color: rgba(255, 255, 255, 0.08);
}

.contact-form select option {
  color: #000;
  font-family: 'DM Sans', sans-serif;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background: var(--orange);
  border:1.5px solid var(--orange);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
  letter-spacing: 2px;
}

.contact-form button[type="submit"]:hover {
  background: transparent;
  letter-spacing: 3px;
}

.custom-select-wrapper{
  flex: 1 1 48%;
}

.custom-select-wrapper select{
  width: 100%;
}


/*ABOUT PAGE BASE STYLES*/

.about-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-office-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.about-highlight {
    background: linear-gradient(to right, var(--orange), var(--darkorange), var(--lightorange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-office-content p {
    color: rgba(255,255,255, .6);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.about-info-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.about-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-button-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn-primary {
    background-color: var(--orange);
    color: var(--white);
}

.about-btn-primary:hover {
    background-color: white;
    color: var(--orange);
}

.about-btn-outline {
    background-color: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.about-btn-outline:hover {
    background: white;
    border: 2px solid white;
}

.about-image-container {
    position: relative;
}

.about-office-image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image-badge {
    position: absolute;
    bottom: -3rem;
    right: -2rem;
    background-color: var(--orange);
    color: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-badge-number {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.about-badge-text {
    font-size: 0.875rem;
}

.about-section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background-color: var(--black);
    border: 1px solid var(--darkgray);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.about-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.about-card p {
    color: rgba(255,255,255, .6);
}

.about-card-icon-fa {
    color: var(--orange);
    font-size: 3rem;
    margin: 0 auto 1rem;
    display: block;
    text-align: center;
}

.about-cta-section {
    text-align: center;
}

.about-cta-section h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin:0 auto 2rem;
    padding:1.5rem;
    border-top:1px solid var(--medgray);
    border-bottom: 1px solid var(--medgray);
    width: 320px;
    flex-wrap: wrap;
}

.about-contact-item a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: .25rem;
    position: relative;
}

.about-cta-section a:before{
  bottom: 0;
  left:0;
  height: 2px;
  width: 0%;
  position: absolute;
  content: '';
  background: linear-gradient(to left, var(--darkorange), var(--orange));
  transition: .4s;
}

.about-contact-item a:hover{
  transform: translateY(-2px);
  color: var(--orange);
}

.about-btn-large {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    margin:0 auto;
    width:fit-content;
    color: white;
    border:2px solid var(--orange);
}

.about-btn-large:hover{
  background: transparent;
}

.about-icon-fa {
    color: var(--orange);
    font-size: 1rem;
    width: 1rem;
    text-align: center;
}

.about-card-icon-fa {
    color: var(--orange);
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    display: block;
    text-align: center;
    transition: .2s;
}

#real-office{
  background: linear-gradient(135deg, var(--darkgray), var(--black));
}

.about-gray-section {
    background: linear-gradient(45deg, var(--darkgray), var(--black));
    padding: 3rem 0 5rem;
}

#about-cta{
  background: radial-gradient(circle at top left, white, var(--lg));
  color: var(--black);
}


/*------Desktop Styles -------*/

@media (width >= 1100px) {

  .content{
    position: relative;
    padding:80px 0;
  }

  .container{
    margin:0 auto;
    max-width: 1100px;
  }

  .subpage-hero {
    padding-top:145px;
  }

  .subpage-hero-tall{
    padding: 200px 20px 120px;
  }

  /*HOMEPAGE DESKTOP STYLES*/

  img.explosion{
    position: absolute;
    right:-35%;
    top:50%;
    transform: translateY(-50%);
    height: 100%;
    box-shadow: none !important;
    width: auto;
    z-index: 3;
    animation: pulse 30s ease-in-out infinite;
  }

  @keyframes pulse {
    0% {
      transform: translateY(-50%) scale(1);
      opacity: 1;
    }
    50% {
      transform: translateY(-50%) scale(1.12);
      opacity: 0.8;
    }
    100% {
      transform: translateY(-50%) scale(1);
      opacity: 1;
    }
  }

  #homepage-hero{
    background: url('images/hero-city.jpg') no-repeat right center;
    background-size: cover;
    height: 900px;
    margin-top: 0px;
    padding-bottom: 80px;
    position: relative;
    color: white;
    overflow: hidden;
  }

  #homepage-hero .container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  img.wave{
    position: absolute;
    bottom: -10%;
    left:0;
    width: 100%;
    height: auto;
    z-index: 2;
  }

  .wave {
    animation: bobbing 5s ease-in-out infinite;
  }

  @keyframes bobbing {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-60px);
    }
  }

  .wave:nth-of-type(2) { animation-delay: 0s; }
  .wave:nth-of-type(3) { animation-delay: .66s; animation-duration: 5.2s }
  .wave:nth-of-type(4) { animation-delay: 1s; animation-duration: 5.7s;}
  .wave:nth-of-type(5) { animation-delay: 1s; animation-duration: 5.7s; display:none; }

  #hero-title{
    text-transform: uppercase;
    position: relative;
    margin-left:30px;
    z-index: 3;
    position: relative;
  }

  #hero-title h1{
    font-size: 6em;
    font-weight: 900;
    width:fit-content;
    line-height: 1em;
    padding:10px 20px 10px 10px;
  }

  #ready-to-talk {
    background: url(images/orange-gradient-background.jpg) no-repeat center;
    background-size: cover;
    color: white;
  }

  #ready-to-talk .container{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #ready-to-talk h1{
    text-align: right;
    margin-bottom: 0px;
    line-height: 1.2em;
    width: 450px;
    font-size: 3.5em;
    padding-right:30px;
  }

  #ready-to-talk h1 span{
    color: var(--darkgray);
  }

  #ready-to-talk p{
    width: 450px;
    margin-bottom: 0px;
    padding-left:30px;
  }

  #ready-to-talk a{
    display: block;
    width: fit-content;
    margin-top:20px;
    padding:12px 30px;
    border-radius: 5px;
    background: white;
    color: var(--darkgray);
    box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  #ready-to-talk a:before{
    position: absolute;
    content:'';
    height: 100%;
    width: 0;
    background: var(--darkgray);
    left:0;
    top:0;
    transition: .4s;
    z-index: -1;
  }

  #ready-to-talk a:hover:before{
    width: 100%;
  }

  #ready-to-talk a:hover{
    color: white;
  }

  #ready-to-talk a i{
    margin-left:10px;
  }

  #homepage-intro{
    z-index: 0;
    padding-bottom: 120px;
    position: relative;
  }

  #homepage-intro h1{
    color: var(--orange);
  }

  #homepage-intro i{
    color: var(--lg);
  }

  #app-idea{
    background: var(--darkgray);
    position: relative;
    padding:0;
    padding-left:calc((100% - 1100px) / 2);
    padding-right:20px;
    z-index: 2;
  }

  #app-idea:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--gold), var(--darkorange));
    clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
    z-index: 2;
    pointer-events: none;
  }

  #app-idea .container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .app-text{
    width: 440px;
    z-index: 3;
    position: relative;
  }

  .app-text h2{
    font-size: 3em;
    font-weight: 200;
  }

  .app-text span{
    font-weight: bold;
  }

  .app-text a{
    display: block;
    width: fit-content;
    margin-top:30px;
    padding:12px 30px;
    border-radius: 5px;
    background: var(--darkgray);
    color: white;
    box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .app-text a:before{
    position: absolute;
    content:'';
    height: 100%;
    width: 0;
    background: white;
    left:0;
    top:0;
    transition: .4s;
    z-index: -1;
  }

  .app-text a:hover:before{
    width: 100%;
  }

  .app-text a:hover{
    color: var(--darkorange);
  }

  .app-text a i{
    margin-left:10px;
  }

  .app-img{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    position: relative;
    width: 760px;
    margin-top:-100px;
  }

  .app-img img{
    width: 100%;
    height: auto;
  }

  #recent-projects{
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
          var(--lg) url(images/bdg-wide.webp) no-repeat center;
    /*background: #ebebeb;*/
    background-size: cover;
    color: var(--darkgray);
  }

  #recent-projects .container{
    position: relative;
    z-index: 0;
  }

  .word-cloud-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 0;
  }

  #recent-projects span {
    position: absolute;
    color: rgba(255, 255, 255, .5);
    font-weight: 600;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    z-index: 0;
  }

  #recent-projects h1 span{
    position: relative;
    z-index: 2;
    user-select: auto;
    pointer-events: auto;
  }

  #recent-projects h1{
    font-size: 4em;
    position: relative;
    z-index: 2;
  }

  .slider-wrapper{
    z-index: 2;
    position: relative;
  }

  /*FOOTER DESKTOP*/

  footer{
    position: relative;
    padding:60px 20px;
/*    height: 500px;*/
    overflow: hidden;
  }

  footer .container{
    position: relative;
    z-index: 4;
  }

  img.footer-wave{
    position: absolute;
    bottom:-60px;
    right:-130px;
    z-index: -1;
  }

  .wave-side {
    animation: bobbing-side 5s ease-in-out infinite;
  }

  @keyframes bobbing-side {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-60px);
    }
  }

  .footer-wave:nth-of-type(1){
    animation-duration: 6.5s;
  }
  .footer-wave:nth-of-type(3){
    animation-duration: 8s;
  }

  .footer-row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .footer-row a img{
    height: 100px;
    width: auto;
  }

  #logo-container{
    text-align: center;
    margin:0 auto;
  }

  #logo-container img{
    width: 120px;
    height: auto;
    margin-bottom: 10px;
  }

  #logo-container span{
    font-weight: 900;
    display: inline-block;
    color: var(--orange);
  }

  #logo-container p:nth-of-type(1){
    margin-bottom: 15px;
    font-size: 1.1em;
    letter-spacing: 1px;
  }

  #logo-container p:nth-of-type(2){
    margin-bottom: 0px;
  }

  #logo-container p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
  }

  #logo-container p a i {
    margin-right: 6px;
    font-size: 0.9em;
    color: var(--orange);
    transition: color 0.3s ease;
  }

  #logo-container p a:before{
    height: 0%;
    width: 100%;
    position: absolute;
    bottom:0;
    left:0;
    content: '';
    background: linear-gradient(45deg, var(--darkorange), var(--orange));
    z-index: -1;
    transition: .3s;
  }

  #logo-container p a:hover{
    transform: translateY(-2px);
  }

  #logo-container p a:hover:before {
    height: 100%;
    color: #000;
  }

  #logo-container p a:hover i {
    color: #000;
  }

  .bdg-map{
    height: 300px;
    position: relative;
/*    box-shadow:0 2px 10px 8px rgba(0,0,0, .3)*/
    box-shadow: 0px 0px 15px 0px rgba(255,78,0,0.5);
  }

  #footer-links{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
  }

  #footer-links h3{
    text-align: center;
    width: 100%;
    color: var(--orange);
    font-size: 1.5em;
    letter-spacing: 3px;
  }

  #footer-links a{
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, .3);
    text-align: center;
    line-height: 60px;
    font-size: 35px;
    margin: 0 15px;
    display: block;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
/*    box-shadow: 0px 0px 30px 0px rgba(247,149,29,0.5);*/
    transition: .5s;
  }
  #footer-links a:hover{
    transform: translateY(-5px);
  }
  #footer-links a .icon {
    position: relative;
    color: var(--black);
    transition: .5s;
    z-index: 3;
  }
  #footer-links a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
  }
  #footer-links a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
    background: var(--orange);
  }

  #footer-links a:hover:before {
    top: 0;
  }

  #sub-footer{
    padding:20px;
    text-align: center;
    font-size: .9em;
    color: white;
    background: var(--darkgray);
    letter-spacing: 3px;
  }

  #sub-footer a{
    border-bottom: 1px solid var(--orange);
    padding-bottom: 2px;
  }

  #sub-footer a:hover{
    color: var(--orange);
  }

  /*--------SUBPAGE DESKTOP---------*/

  /*PORTOFLIO PAGE DESKTOP STYLES*/

  #portfolio-content .container{
    max-width: 100%;
    padding:0 20px;
  }

  .portfolio-filters{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
  }

  .portfolio-filters button{
    display: inline-block;
    min-width: 180px;
    padding:15px 20px;
    color: var(--medgray);
    background: transparent;
    font-weight: bold;
    border:2px solid var(--lg);
    transition: .4s;
    letter-spacing: 2px;
  }

  .portfolio-filters i{
    margin-right:5px;
  }

  .portfolio-filters button:first-of-type{
    border-right:none;
  }

  .portfolio-filters button:nth-of-type(3), .portfolio-filters button:nth-of-type(4){
    border-left:none;
  }

  .portfolio-filters button:last-of-type{
    border-left:none;
  }

  .portfolio-filters button:hover{
    cursor: pointer;
  }

  .portfolio-filters button.active{
    background: var(--orange);
    color: white;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 10px;
    gap: 30px;
    padding: 50px 0px;
  }

  /* Card Styles */
  /*.span-14 {
    grid-row: span 14;
  }

  .span-13 {
    grid-row: span 13;
  }*/

  .portfolio-card {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    grid-row: span 10;
    /*max-width: 350px;*/
  }

  .portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }

  /* Card Background Image */
  .card-bg {
    height: 200px;
    background-size: cover !important;
    background-position: top !important;
    position: relative;
    transition: all 0.5s ease;
  }

  /* Orange Overlay */
  .card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--orange-gold-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .portfolio-card:hover .card-bg::after {
    opacity: 1;
  }

  /* Overlay Description */
  .overlay-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(16px);
    color: white;
    line-height: 1.6;
    text-align: center;
    font-weight: 600;
    padding: 0 12px;
    margin: 0;
    opacity: 0;
    transition: all 0.7s ease;
    transition-delay: 0.1s;
    z-index: 10;
    width: 100%;
  }

  .portfolio-card:hover .overlay-description {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }

  /* Card Content */
  .card-content {
    padding: 24px;
    position: relative;
  }

  .card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--darkgray);
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.3;
  }

  .portfolio-card:hover .card-content h3 {
    color: var(--gray);
  }

  /* View Project Link */
  .card-content a {
    display: inline-flex;
    align-items: center;
    color: #f96210;
    font-weight: 600;
    border-bottom: 2px solid var(--orange);
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateX(0);
    margin-top:10px;
  }

  .card-content a:hover {
    color: #e55100;
    transform: translateX(4px);
  }

  .card-content a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  .card-content a:hover i {
    transform: translateX(4px);
  }

  /* Bottom Accent Border */
  .portfolio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #f97316, #ea580c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }

  .portfolio-card:hover::after {
    transform: scaleX(1);
  }

  /* Fade-In Animation */
  .card-fade-in {
    opacity: .5;
    transform: scale(0.8) translateY(30px);
    transition: transform 1.2s ease, opacity 1.2s ease, border .3s, box-shadow .4s;
    will-change: transform, opacity;
  }

  .card-fade-in.in-view {
    opacity: 1;
    transform: scale(1) translateY(0px);
  }

  .card-fade-in:nth-of-type(odd){
    transition-delay: .2s;
  }

  /*PORTFOLIO INDIVIDUAL PAGE DESKTOP*/

  #portfolio-individual-content{
/*    padding:0;*/
    position: relative;
    min-height: 500px;
  }

  #portfolio-individual-content:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--darkgray), var(--gray));
    clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
    z-index: 2;
    pointer-events: none;
    display: none;
  }

  #portfolio-individual{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    width: 100%;
    z-index: 3;
    position: relative;
    margin:0 auto;
    /*box-shadow: 
    0 10px 30px rgba(255, 255, 255, 0.1),   
    0 6px 20px rgba(255, 255, 255, 0.05);*/
  }

  #port-img {
    width: 50%;
    height: 560px;;
    overflow: hidden; /* IMPORTANT: hides overflow during scroll */
    position: relative;
    box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),   
    0 6px 20px rgba(249, 98, 16, 0.15);
    margin-bottom: 60px;
    border-radius: 8px 0 0 8px;
    transition: .4s;
  }

  #port-img img {
    width: 100%;
    height:auto;
    transition: transform 3s ease-in-out;
    display: block;
    will-change: transform;
  }

  #port-img:hover{
    /*transform: scale(1.02);
    box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.45),
    0 8px 25px rgba(249, 98, 16, 0.2);*/
  }

  #port-text{
    width: 50%;
    height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, .07);
    padding:60px 40px;
  }

  #port-text h3{
    font-size: 2em;
    position: relative;
    padding-bottom: 30px;
    text-align: center;
    margin-bottom: 30px;
  }

  #port-text h3:before{
    position: absolute;
    content: '';
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    height: 3px;
    width: 60px;
    border-radius: 5px;
    background: var(--orange);
  }

  #port-text .project-type {
    width: 100%;
    border-top:1px solid rgba(255,255,255, .3);
    border-bottom: 1px solid rgba(255,255,255, .3);
    padding:10px 0 ;
    margin:20px 0;
    justify-content: flex-start;
  }

  .port-btn{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-self:  flex-start;
    margin-top:20px;
  }

  .port-btn a{
    width: fit-content;
    height: 45px;
    padding:5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
  }

  .port-btn i{
    margin:0 10px;
  }

  .port-btn a:first-of-type{
    background: var(--orange);
    color: white;
    border:2px solid var(--orange);
    margin-right:30px;
  }

  .port-btn a:first-of-type:hover{
    background: white;
    border:2px solid white;
    color: var(--orange);
  }

  .port-btn a:last-of-type{
    border-bottom:2px solid rgba(255,255,255, .7);
    color: rgba(255,255,255, 1);
    background: transparent;
    padding:5px 0px;
    width: fit-content;
    height: fit-content;
    border-radius: 0px;
  }

  .port-btn a:last-of-type:hover{
    color: var(--orange);
     border-bottom: 2px solid var(--orange);
  }

  /* Testimonial section */
  .testimonial-section {
    width: 100%;
    background: linear-gradient(45deg, var(--darkorange), var(--orange), var(--gold));
    position: relative;
  }

  img.testimonial-cityscape{
    position: absolute;
    bottom: 0;
    left:0;
    opacity: .2;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(255, 165, 0, 0.4));
  }

  .testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
  }

  .testimonial-heading {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
  }

  /* Testimonial content */
  .testimonial-content {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top:40px;
  }

  .quote-background {
    content: "“";
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 380px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.2);
    z-index: 0;
    pointer-events: none;
  }

  .testimonial-quote {
    font-size: 22px;
    font-weight: 500;
    color: white;
    margin-bottom: 40px;
  }

  /* Author information */
  .testimonial-author {
    display: flex;
    align-items: center;
  }

  .author-name {
    font-weight: 700;
    font-size: 18px;
    color: white;
  }

  .author-title {
    color: rgba(255, 255, 255, 0.9);
  }

  .author-company {
    color: rgba(255, 255, 255, 0.8);
  }

  /*CASE STUDY DESKTOP*/

  #case-study-content {
    padding:0;
  }

  #case-study-content .container{
    width: 100%;
    max-width: 100%;
  }

  .case-study{
    width: 100%;
    height: 640px;
    padding:60px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black), var(--darkgray), var(--black));
    z-index: 0;
    border:2px solid #141414;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right:calc((100vw - 1100px) / 2);
    padding-left:40px;
    /*clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0% 100%);*/
  }

  .case-study:nth-of-type(even){
    background: linear-gradient(135deg, white, var(--lg), white);
    padding-left:calc((100vw - 1100px) / 2);
    padding-right:40px;
    display: flex;
    flex-direction: row-reverse;
    color: var(--black);
  }

  .case-study img.testimonial-cityscape{
    opacity: .15 !important;
    display: none;
  }

  .case-study-img{
    width: 50%;
    height: 90%;
    border-radius: 8px;
    z-index: 0;
/*    border:2px solid var(--lg);*/
    overflow: hidden;
  }

  .case-study-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
  }

  .case-study-text{
    width: 48%;
    min-width: 525px;
    padding:40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
  }

  .case-study-text h3{
    position: relative;
    color: var(--orange);
    padding-bottom: 20px;
    font-size: 1.8em;
    margin-bottom: 30px;
    letter-spacing:2px;
    max-width: 90%;
    /*text-shadow:
    0 0 6px rgba(249, 98, 16, 0.6),
    0 0 12px rgba(249, 98, 16, 0.4);*/
  }

  .case-study-text h3:before{
    position: absolute;
    content: '';
    background: var(--lg);
    width: 60px;
    height: 2px;
    bottom:0;
    left:0;
  }

  .case-study:nth-of-type(even) .project-type{
    color: var(--darkgray);
  }

  .case-study:nth-of-type(even) h3:before{
    background: var(--darkgray);
  }

  .case-study:nth-of-type(even) h4{
    color: var(--darkgray);
    border-bottom: 1px solid var(--darkgray);
  }

  .case-study:nth-of-type(even) .case-study-btn:hover{
    background: var(--black);
  }

  .case-study-text p{
    text-align: justify;
    width: 90%;
  }

  .case-study-text.from-right{
    align-items: flex-end;
    text-align: right;
  }

  .case-study-text.from-right h3:before{
    left:auto;
    right:0;
  }

  .project-type{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    color: white;
  }

  .project-type h4{
    width: 100%;
    padding-bottom: 5px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .project-type p{
    width: fit-content;
    margin:10px;
  }

  .project-type i{
    color: var(--orange);
    margin-right:5px;
    filter:
    drop-shadow(0 0 2px #ff6a0066)
    drop-shadow(0 0 4px #ff6a0066);
  }

  .case-study-text > * {
    opacity: 0;
    transition: 1s ease-out;
  }

  .case-study:nth-of-type(even) .case-study-text{
    padding-right: 0;
  }

  .case-study-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    background: var(--orange);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 1.5s, background .4s, color .4s;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(249, 98, 16, 0.2);
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top:30px;
  }

  .case-study-btn i {
    transition: transform 0.3s ease;
  }

  .case-study-btn:hover {
    background: white;
    color: var(--orange);
  }

  .case-study-btn:hover i {
    transform: translateX(5px);
  }

  /*case study effects*/

  .case-study-text.from-right > * {
    transform: translateX(40px);
  }

  .case-study-text.from-left > * {
    transform: translateX(-40px);
  }

  .case-study-text.in-view > * {
    opacity: 1;
    transform: translateY(0);
  }

  .case-study-text:hover .case-study-img img {
    transform: scale(1.1);
  }

  #clutch-review{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:60px 40px;
    background: rgba(0, 0, 0, .3);
    backdrop-filter: blur(10px);
    border-top:1px solid rgba(255,255,255, .2);
    border-bottom:1px solid rgba(255,255,255, .2);
    margin-top:20px;
  }

  #clutch-review a img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  a.clutch-btn{
    padding:10px 20px;
    border:2px solid white;
    border-radius: 5px;
  }

  a.clutch-btn:hover{
    background: var(--orange);
  }

  /*SERVICE PAGES DESKTOP*/

  #service-features p.sub-header{
    color: var(--black);
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }

  .feature {
    background: rgba(0, 0, 0, .9);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #2a2a2a;
  }

  .feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }

  .feature i {
    font-size: 2rem;
    color: #ff5a1f; /* Your accent orange */
    margin-bottom: 1rem;
    display: inline-block;
  }

  .feature h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
  }

  .feature p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
  }

  .service-projects .portfolio-card{
    grid-row: span 10;
  }

  /* Desktop styles - horizontal timeline */
  .timeline {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-width: 1400px;
    padding: 40px 0;
  }

  /* Horizontal timeline line */
  .timeline::before {
    top: 80px;
    left: 0;
    width: 100%;
    height: 4px;
    transform: none;
  }

  .timeline-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
    position: relative;
  }

  .timeline-icon {
    position: relative;
    left: auto;
    transform: none;
    margin-bottom: 30px;
    min-width: 80px;
    height: 80px;
  }

  .timeline-content {
    width: 100%;
    height: 410px;
    margin: 0;
    text-align: left;
    max-width: 300px;
  }

  #app-timeline .timeline-content{
    height: 430px;
  }

  #design-timeline .timeline-content{
    height: 370px;
  }

  /* Content arrow - pointing up on desktop */
  .timeline-content::before {
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-bottom: none;
  }

  .timeline-content h3 {
    font-size: 1.3rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
    text-align: left  }

  .timeline-details {
    padding: 0;
  }

  .timeline-item:nth-child(odd) .timeline-details,
  .timeline-item:nth-child(even) .timeline-details {
    padding-left: 20px;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) .timeline-details li::after {
    display: none;
  }

  .timeline-item:nth-child(even) .timeline-details li::before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
  }
  
   
}

/*------- Small screen desktop styles -------*/
@media (width <= 1200px) {

  a#desktopLogo {
    width: 115px;
  }

  #primaryMenu {
    width: 425px;
  }

  a.get-started{
    padding:10px;
  }


}

/*--------Tablet/Mobile Styles--------*/

@media (max-width: 1099px) {

  .content{
    padding:60px 20px;
  }

  .container{
    width: 100%;
    margin: 0 auto;
  }

  /*TABLET HEADER STYLES*/

  #desktopNav{
    font-size: .9em;
    display: flex;
    justify-content: space-between;
  }

  a#desktopLogo {
    display: inline-block;
    width: 115px;
    margin:0 auto;
  }

  #primaryMenu {
    width: 360px;
  }

  .hidden-menu {
    width: 250px;
    font-weight: 500;
    font-size: .9em;
  }

  a.get-started{
    height: auto;
    width: auto;
    padding:12px;
    line-height: 1em;
  }


  /*HOMEPAGE TABLET STYLES*/

  img.explosion{
    position: absolute;
    right:-35%;
    top:50%;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    z-index: 3;
    box-shadow: none !important
    animation: pulse 30s ease-in-out infinite;
  }

  #homepage-hero{
    background: url('images/hero-city.jpg') no-repeat right center;
    background-size: cover;
    height: 620px;
    margin-top: 0px;
    padding-bottom: 80px;
    position: relative;
    color: white;
    overflow: hidden;
    margin-top:50px;
  }

  #homepage-hero .container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  img.wave{
    position: absolute;
    bottom: -10px;
    left:0;
    width: 100%;
    height: auto;
    z-index: 2;
    transform: scaleY(1.5);
  }

  .wave {
    animation: bobbing 7s ease-in-out infinite;
  }

  @keyframes bobbing {
    0%, 100% {
        transform: scaleY(2) translateY(0); /* Combine both transforms */
    }
    50% {
        transform: scaleY(2) translateY(-10px); /* Combine both transforms */
    }
  }

  .wave:nth-of-type(2) { animation-delay: 0s; }
  .wave:nth-of-type(3) { animation-delay: .66s; animation-duration: 5.2s }
  .wave:nth-of-type(4) { animation-delay: 1s; animation-duration: 5.7s; display:none; }
  .wave:nth-of-type(5) { animation-delay: 1s; animation-duration: 5.7s; }

  #hero-title{
    text-transform: uppercase;
    position: relative;
    margin-left:30px;
    z-index: 3;
    position: relative;
  }

  #hero-title h1{
    font-size: 3.5em ;
    font-weight: 900;
    width:fit-content;
    line-height: 1.2em;
    padding:10px 20px 10px 10px;
  }

  #ready-to-talk {
    background: url(images/orange-gradient-background.jpg) no-repeat center;
    background-size: cover;
    color: white;
  }

  #ready-to-talk .container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #ready-to-talk h1{
    margin-bottom: 30px;
    line-height: 1.2em;
    font-size: 3.5em;
    max-width:580px;
    text-align: center;
  }

  #ready-to-talk h1 span{
    color: var(--darkgray);
  }

  #ready-to-talk p{
    max-width: 700px;
    margin-bottom: 0px;
  }

  #ready-to-talk a{
    display: block;
    width: fit-content;
    margin:30px auto 0;
    padding:12px 30px;
    border-radius: 5px;
    background: white;
    color: var(--darkgray);
    box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  #ready-to-talk a:before{
    position: absolute;
    content:'';
    height: 100%;
    width: 0;
    background: var(--darkgray);
    left:0;
    top:0;
    transition: .4s;
    z-index: -1;
  }

  #ready-to-talk a:hover:before{
    width: 100%;
  }

  #ready-to-talk a:hover{
    color: white;
  }

  #ready-to-talk a i{
    margin-left:10px;
  }

  #homepage-intro {
    position: relative;
    z-index: 0;
  }

  #homepage-intro h1{
    color: var(--orange);
    font-size: 3em;
    text-align: center;
  }

  #homepage-intro i{
    color: var(--lg);
  }

  #app-idea{
    background: var(--darkgray);
    position: relative;
    z-index: 2;
  }

  #app-idea:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--gold), var(--darkorange));
    clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
    z-index: 2;
    pointer-events: none;
  }

  .app-text{
    max-width: 500px;
    z-index: 3;
    position: relative;
    margin:0 auto;
  }

  .app-text h2{
    font-size: 3em;
    font-weight: 200;
  }

  .app-text span{
    font-weight: bold;
  }

  .app-text a{
    display: block;
    width: fit-content;
    margin-top:30px;
    padding:12px 30px;
    border-radius: 5px;
    background: var(--darkgray);
    color: white;
    box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .app-text a:before{
    position: absolute;
    content:'';
    height: 100%;
    width: 0;
    background: white;
    left:0;
    top:0;
    transition: .4s;
    z-index: -1;
  }

  .app-text a:hover:before{
    width: 100%;
  }

  .app-text a:hover{
    color: var(--darkorange);
  }

  .app-text a i{
    margin-left:10px;
  }

  .app-img{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    position: relative;
    max-width: 700px;
    margin:40px auto 0;
  }

  .app-img img{
    width: 100%;
    height: auto;
  }

  #recent-projects{
    /*background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
          var(--lg) url(images/bdg-wide.webp) no-repeat center;*/
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9));
    background-size: cover;
    color: var(--darkgray);
    overflow-x: hidden;
  }

  #recent-projects h1{
    font-size: 4em;
    text-align: center;
  }

  .recent-project {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 20px;
  }

  #recent-project-container span{
    display: none;
  }

  #recent-project-container h1 span{
    display: inline-block;
  }

  h1.background-title {
    text-align: center;
    left:50%;
    transform: translateX(-50%);
    line-height: 1.2em;
  }

  .homepage-service{
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .service-text{
    margin-top:25px;
    width: 100%;
    justify-content: center;
    margin-bottom: 40px;
  }

  .service-text-content{
    width: 80%;
  }

  .service-img{
    max-width: 600px;
    width: 100%;
    overflow: visible;
    height: auto;
  }

  .service-img img{
    object-position: center;
    width: 100%;
    height: auto;
  }

  #project-spotlight .container{
    padding:0;
  }

  .spotlight-slide {
    margin-right:0;
  }

  .spotlight-text{
    margin-right:15px;
  }

  .spotlight-links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .spotlight-links a:first-of-type{
    margin:0 0 30px 0;
  }

  /*PORTFOLIO PAGE MOBILE STYLES*/

  .portfolio-filters {
    margin:0 auto 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
  }

  .portfolio-filters button{
    display: inline-block;
    padding:10px;
    color: var(--medgray);
    background: transparent;
    font-weight: bold;
    border:2px solid var(--lg);
    transition: .4s;
    letter-spacing: 2px;
    flex: 0 0 auto;
    margin:0 auto;
    width: calc(100% / 2);
    text-align: center;
  }

  .portfolio-filters button:first-of-type, .portfolio-filters button:nth-of-type(2){
    border-bottom: none;
  }

  .portfolio-filters button:first-of-type, .portfolio-filters button:nth-of-type(3){
    border-right: none;
  }

  .portfolio-filters i {
    margin-right:5px;
  }

  .portfolio-filters button:hover{
    cursor: pointer;
  }

  .portfolio-filters button.active{
    background: var(--orange);
    color: white;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    margin:0 auto;
  }

  /* Card Styles */
  .portfolio-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    cursor: pointer;
    grid-row:span 12;
  }

  .portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.2);
  }

  .card-bg {
    height: 180px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    transition: all 0.5s ease;
  }

  .card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--orange-gold-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .portfolio-card:hover .card-bg::after {
    opacity: 1;
  }

  .overlay-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(16px);
    color: white;
    line-height: 1.5;
    text-align: center;
    padding: 0 12px;
    margin: 0;
    opacity: 0;
    transition: all 0.7s ease;
    transition-delay: 0.1s;
    z-index: 10;
    width: 100%;
  }

  .portfolio-card:hover .overlay-description {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }

  .card-content {
    padding: 20px;
    position: relative;
  }

  .card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    transition: color 0.3s ease;
    line-height: 1.2;
  }

  .portfolio-card:hover .card-content h3 {
    color:  var(--orange);
  }

  .card-content a {
    display: inline-flex;
    align-items: center;
    color: #f96210;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateX(0);
  }

  .card-content a:hover {
    color: #e55100;
    transform: translateX(4px);
  }

  .card-content a i {
    margin-left: 6px;
    transition: transform 0.3s ease;
  }

  .card-content a:hover i {
    transform: translateX(4px);
  }

  .portfolio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #f97316, #ea580c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }

  .portfolio-card:hover::after {
    transform: scaleX(1);
  }

  /* Fade-In Animation */
  .card-fade-in {
    opacity: .5;
    transform: scale(0.8) translateY(30px);
    transition: transform 1.2s ease, opacity 1.2s ease, border .3s, box-shadow .4s;
    will-change: transform, opacity;
  }

  .card-fade-in.in-view {
    opacity: 1;
    transform: scale(1) translateY(0px);
  }

  .card-fade-in:nth-of-type(odd){
    transition-delay: .2s;
  }

  /*PORTFOLIO INDIVIDUAL MOBILE STYLES*/

  #portfolio-individual-content{
/*    padding:0;*/
    position: relative;
    min-height: 500px;
  }

  #portfolio-individual-content:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--darkgray), var(--gray));
    clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
    z-index: 2;
    pointer-events: none;
    display: none;
  }

  #portfolio-individual{
    display: grid;
    grid-template-areas:
      "text"
      "img"
      "review";
    width: 100%;
    z-index: 3;
    position: relative;
    margin:0 auto;
  }

  #port-img {
    width: 100%;
    height: 400px;
    overflow: hidden; /* IMPORTANT: hides overflow during scroll */
    position: relative;
    border-radius: 0 0 8px 8px;
    box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),   /* base drop */
    0 6px 20px rgba(249, 98, 16, 0.15);
    transition: .4s;
    grid-area: img;
  }

  #port-img img {
    width: 100%;
    height:auto;
    transition: transform 5s linear;
    display: block;
    will-change: transform;
  }

  #port-img:hover{
    transform: scale(1.02);
    box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.45),
    0 8px 25px rgba(249, 98, 16, 0.2);
  }

  /*#port-img:hover img {
    transform: translateY(-60%);
  }*/

  #port-text{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-area: text;
    background: rgba(255,255,255, .07);
    border-radius: 8px 8px 0 0;
    padding:40px 20px 60px;
  }

  #port-text h3{
    font-size: 1.66em;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
  }

  #port-text h3:before{
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 60px;
    border-radius: 5px;
    background: var(--orange);
  }

  #port-text .project-type {
    width: 100%;
    border-top:1px solid rgba(255,255,255, .3);
    border-bottom: 1px solid rgba(255,255,255, .3);
    padding:10px 0;
    margin:20px 0;
  }

  .port-btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:20px;
  }

  .port-btn a{
    width: fit-content;
    height: 45px;
    padding:5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
  }

  .port-btn i{
    margin:0 10px;
  }

  .port-btn a:first-of-type{
    background: var(--orange);
    color: white;
    border:2px solid var(--orange);
    margin-bottom:30px;
  }

  .port-btn a:first-of-type:hover{
    background: white;
    border:2px solid white;
    color: var(--orange);
  }

  .port-btn a:last-of-type{
    border-bottom:2px solid rgba(255,255,255, .7);
    color: rgba(255,255,255, 1);
    background: transparent;
    padding:5px 0px;
    width: fit-content;
    height: fit-content;
    border-radius: 0px;
  }

  .port-btn a:last-of-type:hover{
    color: var(--orange);
     border-bottom: 2px solid white;
  }

  #portfolio-individual #clutch-review{
    grid-area: review;
    padding-bottom: 20px;
    color: rgba(255,255,255, .8);
  }

  /* Testimonial section */
  .testimonial-section {
    width: 100%;
    background: linear-gradient(45deg, var(--darkorange), var(--orange), var(--gold));
    position: relative;
  }

  img.testimonial-cityscape{
    position: absolute;
    bottom: 0;
    left:0;
    opacity: .1;
    width: 100%;
    height: auto;
    z-index: 0;
  }

  .testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }

  .testimonial-heading {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
  }

  /* Testimonial content */
  .testimonial-content {
    display: flex;
    flex-direction: column;
    position: relative;
/*    padding-top:40px;*/
  }

  .quote-background {
    content: "“";
    position: absolute;
    top: 20px;
    left: -10px;
    font-size: 280px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.2);
    z-index: 0;
    pointer-events: none;
  }

  .testimonial-quote {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 40px;
  }

  /* Author information */
  .testimonial-author {
    display: flex;
    align-items: center;
  }

  .author-name {
    font-weight: 700;
    font-size: 18px;
    color: white;
  }

  .author-title {
    color: rgba(255, 255, 255, 0.9);
  }

  .author-company {
    color: rgba(255, 255, 255, 0.8);
  }

  /*CASE STUDY MOBILE STYLES*/

  #case-study-content{
    padding: 0;
  }

  .case-study {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 20px 20px 60px;
  }

  .case-study-img{
    background: var(--black);
    height: 250px;
    width: 100%;
  }

  .case-study-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    max-height: 280px;
    opacity: .75;
    border-bottom: 1px solid var(--lg);
  }

  .case-study-text {
    position: relative;
    width: 100%;
    padding:20px 10px;
    padding-bottom: 0;
    background: var(--black);
    backdrop-filter: blur(4px);
    color: white;
    text-align: left;
    border-radius: 0 0 12px 12px;
  }

  .case-study-text h3 {
    font-size: 1.5rem;
    color: var(--orange);
    padding-left: 20px;
    position: relative;
    margin-left:10px;
  }

  .case-study-text h3:before{
    position: absolute;
    content: '';
    width: 4px;
    height: 120px;
    background: var(--orange);
    left:0;
    bottom: 0px;
  }

  .case-study-text h3:after{
    height: 13px;
    width: 13px;
    border-radius: 50%;
    background: var(--orange);
    position: absolute;
    content:'';
    left:-4px;
    bottom: 118px;
  }

  .case-study-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .project-type {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    color: white;
  }

  .project-type h4{
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    margin-bottom: 10px;
    padding-bottom: 5px;
  }

  .project-type p {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .project-type i{
    color: var(--orange)
  }

  .case-study-btn {
    display: inline-block;
    font-weight: 600;
    padding: 10px 16px;
    background: var(--orange);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    position: relative;
    z-index: 1;
  }

  .case-study-btn:hover {
    background: #f97410;
  }

  .case-study:nth-of-type(even){
    background: white;
  }

  .case-study:nth-of-type(even) .case-study-text{
    background: white;
    color: var(--darkgray);
  }

  .case-study:nth-of-type(even) h4{
    border-bottom: 1px solid var(--darkgray);
  }

  .case-study:nth-of-type(even) .project-type{
    color: var(--darkgray);
  }

  .case-study img.testimonial-cityscape{
    display: none;
  }

  #clutch-review{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:60px 20px;
  }

  #clutch-review a img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  a.clutch-btn{
    padding:10px 20px;
    border:2px solid white;
    border-radius: 5px;
    color: white;
  }

  a.clutch-btn:hover{
    background: var(--orange);
  }

  /*SERVICE PAGE MOBILE STYLES*/

  /*web development subpage*/

  .service-banner{
    justify-content: center;
    padding: 40px 20px 0;
  }

  .banner-div{
    width: 100%;
    border-right: none;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.3);
  }

  .banner-div:last-of-type{
    border-bottom: none;
    margin-bottom: 0px;
  }

  #service-content{
    position: relative;
    background: linear-gradient(to bottom, var(--black), var(--darkgray));
    padding-bottom: 200px;
  }

  #service-content:before{
    position: absolute;
    content: '';
    bottom: 0;
    left:50%;
    transform: translateX(-50%);
    width: 100%;
    aspect-ratio: 16 / 3;
    background: url(images/city-background-thin.webp) no-repeat bottom center;
    background-size: cover;
    opacity: .1;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }

  .feature {
    background: rgba(0, 0, 0, .9);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #2a2a2a;
  }

  .feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }

  .feature i {
    font-size: 2rem;
    color: #ff5a1f; /* Your accent orange */
    margin-bottom: 1rem;
    display: inline-block;
  }

  .feature h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
  }

  .feature p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
  }

  .service-projects .portfolio-card{
    grid-row: span 12;
  }

  /* Convert to vertical timeline */

  .timeline::before {
    left: 30px;
    width: 3px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 60px;
    padding-bottom: 50px;
  }

  .timeline-icon {
    left: 30px;
    min-width: 50px;
    height: 50px;
    transform: translateX(-50%);
  }

  .timeline-icon i{
    font-size: 24px
  }

  .step-number{
    width: 20px;
    height: 20px;
  }

  .timeline-content {
    width: 100%;
    margin-left: 20px;
    margin-right: 0;
    text-align: left;
    padding:20px 15px;
  }

  .timeline-content::before {
    left: -10px;
    right: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none;
  }

  .timeline-item:nth-child(even) .timeline-details {
    padding-right: 0;
    padding-left: 20px;
  }

  .timeline-item:nth-child(even) .timeline-details li::after {
    display: none;
  }

  .timeline-item:nth-child(even) .timeline-details li::before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
  }

  .process-cta {
    margin-top: 80px;
  }

  /*CONTACT PAGE TABLET STYLES*/

  .contact-info {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
  }

  .contact-info h2{
    width: 100%;
    text-align: center;
  }

  .contact-info p{
    width: 100%;
  }

  /*ABOUT TABLET/MOBILE STYLES*/

  .about-image-badge{
    right:auto;
    left:50%;
    bottom:-3.5rem;
    transform: translateX(-50%);
  }

  .about-office-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
      margin-bottom: 3rem;
  }

  .about-office-content{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-office-content h2 {
      font-size: 2rem;
      text-align: center;
  }

  .about-office-content p {
      font-size: 1rem;
      max-width: 600px;
      margin:0 auto 1.75rem;
  }

  .about-info-list{
    padding-left:0px;
    margin-bottom: 1.5rem;
  }

  .about-info-item{
    gap:1rem;
  }

 .about-cards-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }

  .about-card{
    margin:0 auto;
    width: 90%;
  }

  .about-section-title {
      font-size: 1.75rem;
  }

  .about-cta-section h3 {
      font-size: 1.75rem;
  }

  .about-cta-section p {
      font-size: 1rem;
  }

  .about-contact-info {
      gap: 2rem;
      margin-bottom: 2rem;
  }

  .about-button-group {
      justify-content: center;
  }

  #about-cta{
    position: relative;
  }

  #about-cta:before{
    width: 90%;
    height: 1px;
    background:rgba(255,255,255, .15);
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    position: absolute;
    content:'';
  }

  /*FOOTER TABLET/MOBILE STYLES*/

  footer{
    position: relative;
    padding:60px 20px;
/*    height: 500px;*/
    overflow: hidden;
  }

  img.footer-wave{
    display: none;
  }

  .footer-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .footer-row a img{
    height: 100px;
    width: auto;
  }

  .footer-row a img:first-of-type{
    margin-right: 20px;
  }

  #logo-container{
    text-align: center;
    margin:40px auto;
    width: 100%;
  }

  #logo-container img{
    width: 130px;
    height: auto;
    margin:0 0 10px;
  }

  #logo-container span{
    font-weight: 900;
    display: inline-block;
    color: var(--orange);
  }

  #logo-container p:nth-of-type(1){
    margin-bottom: 15px;
    letter-spacing: 1px;
  }

  #logo-container p:nth-of-type(2){
    margin-bottom: 0px;
  }

  #logo-container p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 6px;
  }

  #logo-container p a i {
    margin-right: 6px;
    font-size: 0.9em;
    color: var(--orange);
    transition: color 0.3s ease;
  }

  #logo-container p a:hover {
    background: var(--orange);
    color: #000;
    transform: translateY(-2px);
  }

  #logo-container p a:hover i {
    color: #000;
  }

  .bdg-map{
    height: 300px;
    position: relative;
/*    box-shadow:0 2px 10px 8px rgba(0,0,0, .3)*/
    box-shadow: 0px 0px 15px 0px rgba(255,78,0,0.5);
  }

  #footer-links{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
  }

  #footer-links h3{
    text-align: center;
    width: 100%;
    color: var(--orange);
    font-size: 1.5em;
    letter-spacing: 3px;
  }

  #footer-links a{
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, .3);
    text-align: center;
    line-height: 60px;
    font-size: 35px;
    margin: 0 15px;
    display: block;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
/*    box-shadow: 0px 0px 30px 0px rgba(247,149,29,0.5);*/
    transition: .5s;
  }
  #footer-links a:hover{
    transform: translateY(-5px);
  }
  #footer-links a .icon {
    position: relative;
    color: var(--black);
    transition: .5s;
    z-index: 3;
  }
  #footer-links a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
  }
  #footer-links a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
    background: var(--orange);
  }

  #footer-links a:hover:before {
    top: 0;
  }

  #sub-footer{
    padding:20px;
    text-align: center;
    font-size: .9em;
    color: white;
    background: var(--darkgray);
    letter-spacing: 3px;
  }

  #sub-footer a{
    border-bottom: 1px solid var(--orange);
    padding-bottom: 2px;
  }

  #sub-footer a:hover{
    color: var(--orange);
  }

}

@media (max-width: 768px) {

  #desktopNav{
    display: none;
  }

  header{
    position: relative;
  }

  #mobileNav{
    display: block;
  }

  #mobileNavBtn{
    position: fixed;
    width: 100%;
    z-index: 12;
    top:0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:2px 10px;
    background: linear-gradient(45deg, var(--black), var(--darkgray));
    border-bottom: 1px solid var(--gray);
  }

  .bar-container {
    /*position: fixed;
    top: 0;
    right: 10px;*/
    z-index: 12;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  a#mobileNavLogo{
    height: 40px;
    width: auto;
    opacity: 0;
    transition: opacity .4s ease;
  }

  #mobileNavLogo img{
    height: 100%;
    width: auto;
  }

  a#overlayLogo{
    position: relative;
    top:10px;
    left:10px;
    height: 44px;
    width: auto;
    opacity: 0;
    transition: opacity .4s ease;
    transition-delay: .2s;
    align-self: flex-start;
  }

  #overlayLogo img{
    height: 100%;
    width: auto;
  }

  /*.open-nav a#mobileNavLogo{
    opacity: 0;
  }

  .open-nav a#overlayLogo{
    opacity:1;
  }*/

  a#mobileNavLogo{
    height: 32px;
    width: auto;
    opacity: 1;
    transition: opacity .4s ease;
  }

  #mobileNavLogo img{
    height: 100%;
    width: auto;
  }

  #navOverlay{
    height: 100vh;
    width: 100%;
    transform: translateX(100%);
    position: fixed;
    z-index: 11;
    right: 0;
    top: 0;
    opacity:1;
/*    background: linear-gradient(45deg, var(--black), var(--darkgray)); */
    background: var(--black);
    overflow-x: hidden;
    overflow-y: auto;
    transition: transform 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.4);
  }

  #navOverlay.open-nav{
    transform: translateX(0px);
    transition: transform .6s;
  }

  .nav-links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding:30px 20px;
    margin-top:35px;
    width: 99%;
    /*border-radius: 20px;
    background: rgba(0, 0, 0, .2);*/
  }

  .nav-links a, .nav-links .md-btn{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding:10px;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px 0 10px 0;
    box-shadow: 0px 6px 12px 1px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, .1);
    z-index: 2;
    background: linear-gradient(45deg, var(--darkgray), var(--black));
  }

  .nav-links a:hover{
/*    box-shadow: inset 0 0 8px rgba(255, 160, 40, 0.5);*/
    background: linear-gradient(45deg, var(--darkorange), var(--orange));
    transform: scale(0.97);
  }

  .nav-links a i{
    margin-right:15px;
    color: var(--orange);
    vertical-align: middle;
    font-size: 1.1em
  }

  .nav-links a:hover i{
    color: white;
    color: var(--black);
  }

  .nav-links .md-btn i:last-of-type{
    margin-left:auto;
  }

  .mobile-dropdown{
    width: 100%;
  }

  .mobile-hidden {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: ;
    height: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
    transition: all .4s;
    transition-delay: .15s;
    position: relative;
    top:-20px;
    pointer-events: none;
    /*background: linear-gradient(45deg, rgba(0,0,0, .5), rgba(255, 255, 255, .1));*/
    background: rgba(255, 255, 255, .07);
    border-left: 3px solid var(--orange);
    border-radius:0 0 10px 10px;
    z-index: 1;
    width: 95%;
    margin:0 auto;
  }

  .mobile-hidden.show-menu {
    height: 160px;
    padding: 20px 10px 15px;
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 12px rgba(214, 214, 214, 0.1);
  }

  .mobile-hidden a{
    margin-bottom: 0px;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .mobile-hidden a:before{
    display: none;
  }

  .mobile-hidden a i{
    color: rgba(255, 102, 0, 0.6);
  }

  #rotateIcon1 {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  #rotateIcon1.rotate {
    transform: rotate(180deg);
  }

  .nav-contact{
    width: calc(100% - 40px);
    padding:20px;
    margin:0px auto 20px;
    position: relative;
    color: rgba(255, 255, 255, .8);
/*    background:linear-gradient(45deg, var(--black), var(--darkgray));   */
  }

  .nav-contact:before, .nav-contact:after{
    content: '';
    display: block;
    position: absolute;
    background-color: transparent;
    pointer-events: none;
   }

   .nav-contact:before{
    top: 0;
    left: 0;
    right: 70%;
    bottom: 0;
    border-top: 2px solid rgba(255, 255, 255, .3);
    border-left: 3px solid rgba(255, 255, 255, .3);
    border-radius: 10px 0 0 0;
   }

   .nav-contact:after{
    top: 0;
    right: 0;
    left: 70%;
    bottom: 0;
    border-bottom: 3px solid rgba(255, 255, 255, .3);
    border-right: 3px solid rgba(255, 255, 255, .3);
    border-radius: 0 0 10px 0;
   }

   .contact-block {
    width: 100%;
    height: 100%;
    letter-spacing: 2px;
    font-size: 0.9rem;
    line-height: 2.5;
    font-weight: 300;
    padding: 10px;
    border-radius: 12px;
   }

   .contact-block a {
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .contact-block a:hover {
      color: var(--orange);
    }

   .contact-block i {
    color: var(--lg);
    margin-right: 8px;
    font-size: 0.9rem;
   }

  /*.nav-contact p a{
    border-bottom: 1px solid var(--darkgray);
  }

  .nav-contact p a:hover{
    color: var(--orange);
  }*/

  img.explosion{
    position: absolute;
    left:-40%;
    top:100%;
    transform: translateY(-50%);
    height: 90%;
    width: auto;
    z-index: 3;
    display: none;
  }

  #hero-title {
    margin-left:0px;
  }

  #hero-title h1{
    font-size: 2.5em;
    font-weight: 900;
    width:fit-content;
    text-align: center;
  }

  #ready-to-talk h1{
    font-size: 2.5em;
  }

  .app-text h2{
    font-size: 2.5em;
  }

  #homepage-intro h1{
    font-size: 2.5em;
  }

  #recent-projects h1{
    font-size: 3em;
  }

  .recent-project {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  #recent-project-container span{
    display: none;
  }

  #recent-project-container h1 span{
    display: inline-block;
  }

  h1.background-title{
    font-size: 4em;
  }

  .homepage-service{
    padding-top:60px;
  }

  .service-text{
    flex-direction: column;
    align-items: center;
    padding-right:0px;
  }

  .service-icon{
    width: 20px;
    display: none;
  }

  .service-text-content{
    padding-left:0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-text-content h3{
    text-align: center;
  }

  #project-spotlight{
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .93)), 
    url(images/city-background-tall.webp) no-repeat bottom center;
    background-size: cover;
    color: var(--black);
    border-bottom:10px solid var(--orange);
    padding:60px 20px;
  }

  #project-spotlight .container{
    width: 100%;
    max-width: 100%;
  }

  .spotlight-slider-container {
    overflow: hidden;
    width: 100%;
  }

  .spotlight-slider-track {
    display: flex;
    transition: transform 0.6s ease, opacity 0.6s ease;
    width: 100%;
  }

  .spotlight-slide{
    display: flex;
    flex: 0 0 100%;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    min-width: 100%;
  }

  .spotlight-dots {
    text-align: center;
    margin-top: 20px;
  }

  .spotlight-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 8px;
    display: inline-block;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .02);
    border:1.5px solid var(--gray);
    cursor: pointer;
    transition: 0.3s ease;
  }

  .spotlight-dots .dot.active {
    background-color: var(--orange);
  }

  .spotlight-img{
    width:100%;
/*    border:5px solid var(--orange);*/
    border-left:none;
    margin-bottom: 20px;
  }

  .spotlight-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3)
  }

  .spotlight-text{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin:0;
  }

  .spotlight-text h3{
    font-weight: 900;
    font-size: 2em;
    color: var(--orange);
  }

  .spotlight-links{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top:20px;
  }

  .spotlight-links a{
    display: inline-block;
    font-weight: bold;
    font-size: 1.1em;
  }

  .spotlight-links a:first-of-type{
    background: black;
    padding:10px;
    border-radius: 5px;
    color: white;
    margin:0 20px 0 0;
    box-shadow: 0px 8px 12px 2px rgba(0,0,0,0.3);
  }

  .spotlight-links a:first-of-type:hover{
    background: var(--orange);
  }

  .spotlight-links a:nth-of-type(2){
    border-bottom: 2px solid var(--orange);
  }

  .spotlight-links a:nth-of-type(2):hover{
    color: var(--orange);
  }

  .spotlight-links a:first-of-type i{
    margin-right:10px;
  }

  .spotlight-links a:nth-of-type(2) i{
    margin-left:10px;
  }

  /*SUBPAGE MOBILE STYLES*/

  .subpage-hero{
    margin-top:65px;
  }

  .subpage-hero h1{
    font-size: 2em;
  }

  .subpage-hero p{
    font-size: 1em;
  }

  .subpage-hero-tall{
    padding:80px 20px;
  }

  /*PORTFOLIO MOBILE STYLES*/

  .portfolio-search-section {
    margin: 1.5rem 0;
  }
  
  .search-container {
    max-width: 100%;
    margin: 0 0 1rem;
  }

  #portfolio-search {
    font-size: 14px;
    padding: 10px 14px 10px 36px;
  }
  
  .search-icon {
    left: 10px;
    font-size: 14px;
  }
  
  .portfolio-pagination {
    gap: 0.5rem;
    margin: 2rem 0;
  }
  
  .pagination-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .pagination-number {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .portfolio-filters button{
    padding:10px;
  }

  /*SERVICE MOBILE STYLES*/

  #service-content{
    padding-bottom: 120px;
  }

 /*FOOTER MOBILE STYLES*/

  #logo-container {
    margin:60px auto;
  }

  /*CONTACT PAGE MOBILE STYLES*/

  .contact-info{
    justify-content: flex-start;
  }

  .input-row {
    flex-direction: column;
  }


}

/*CASE STUDY INDIVIDUAL PAGE STYLES*/

/* Back Navigation */
.back-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--medgray);
    text-decoration: none;
    margin: 24px 0;
    transition: color 0.3s ease;
    font-weight: 500;
}

.back-nav:hover {
    color: var(--orange);
}

.back-nav i {
    font-size: 14px;
}

/* Hero Section */
.case-study-hero {
    background: var(--black);
    color: white;
    padding: 0px 0 100px 0;
    position: relative;
    height: auto;
    margin-top: 0;
}

.case-study-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--darkgray);
}

.case-study-hero h1{
  text-align: left;
}

.case-study-hero p{
  text-align: left;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.project-badge {
    background: rgba(255, 255, 255, 0.07);
    color: var(--orange);
    border: 1px solid rgba(249, 98, 16, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 24px;
}

.case-study-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.1;
    color: white;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--lg);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medgray);
    font-size: 15px;
}

.meta-item i {
    color: var(--orange);
    width: 16px;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-badge {
    border: 1px solid rgba(249, 98, 16, 0.4);
    color: var(--orange);
    background: rgba(255, 255, 255, 0.07);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.service-badge i {
    font-size: 12px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--orange), var(--lightorange));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

/* Results Section - Light Background */
.results-section {
    background:linear-gradient(to bottom, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)), url(images/reno-background-light.jpg) no-repeat center;
    background-size: cover;
    padding: 80px 0;
    position: relative;
}

.results-section::before,
.results-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.results-section::before {
    top: 0;
}

.results-section::after {
    bottom: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.result-card {
    background: rgba(0,0,0, .07);
    border: 1px solid rgba(255,255,255, .9);
    padding: 40px 30px;
    backdrop-filter: blur(4px);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.result-card:nth-of-type(4){
  grid-column-start: 2;
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 12px;
    display: block;
}

.result-label {
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
}

/* Challenge Section - Dark Background */
.challenge-section {
    background: var(--black);
    color: white;
    padding: 80px 0;
    position: relative;
}

.challenge-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--darkgray);
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--orange);
}

.content-column p {
    color: var(--lg);
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.content-column h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    margin-top: 16px;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--lg);
    line-height: 1.6;
    font-size: 1.05rem;
}

.problem-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Solution Section - Light Background */
.solution-section {
    background:linear-gradient(135deg, white, white, var(--lg));
    padding: 80px 0;
    position: relative;
}

.solution-section::before,
.solution-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.solution-section::before {
    top: 0;
}

.solution-section::after {
    bottom: 0;
}

.solution-section .section-title {
    color: var(--orange);
}

.solution-section .section-header p {
    color: var(--gray);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

.solution-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    font-size: 3.5rem;
    color: var(--orange);
    margin-bottom: 24px;
    display: block;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

.features-section {
    margin-top: 60px;
}

.features-section h3 {
    color: var(--black);
    font-size: 2.2rem;
    margin-bottom: 32px;
    width: 100%;
    /*text-align: center;*/
}

.features-section {
    margin-top: 60px;
}

.features-section .two-column-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/*.features-section .image-column {
    order: -1; 
}

.features-section .content-column {
    order: 1; 
}*/

.features-section .content-column h3 {
    color: var(--black);
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
    background: none;
    border-radius: 0;
    border-left: none;
    position: relative;
    padding-left: 0;
}

/* Add a subtle connecting line */
.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    opacity: 0.3;
}

.feature-item i {
    color: white;
    background: var(--orange);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(249, 98, 16, 0.3);
}

.feature-item div {
    flex: 1;
}

.feature-item h4 {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mobile responsive for features */
@media (max-width: 768px) {
    .features-section .two-column-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Reset order for mobile - show content first, then image */
    .features-section .image-column {
        order: 1;
    }
    
    .features-section .content-column {
        order: 0;
    }
    
    .feature-list {
        gap: 24px;
    }
    
    .feature-item:not(:last-child)::after {
        height: 24px;
        top: 40px;
    }
    
    .features-section .content-column h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        gap: 16px;
    }
    
    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .feature-item:not(:last-child)::after {
        left: 20px;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.95rem;
    }
}

/* Results Detail Section - Dark Background - Image on LEFT */
.results-detail-section {
    background: var(--black);
    color: white;
    padding: 100px 0;
    position: relative;
}

.results-detail-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--darkgray);
}

.results-detail-section .section-title {
    color: var(--orange);
}

.results-detail-section .section-header p {
    color: var(--lg);
}

/* <CHANGE> Flip the layout - Image LEFT, Text RIGHT for proper alternation */
.results-detail-section .two-column-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.results-detail-section .image-column {
    order: -1; /* Move image to the left */
}

.results-detail-section .content-column {
    order: 1; /* Keep text on the right */
}

/* <CHANGE> Enhanced styling for better visual hierarchy */
.results-detail-section .content-column h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 700;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* <CHANGE> Enhanced impact items with stronger orange lines and better spacing */
.impact-item {
    border-left: 6px solid var(--orange);
    padding-left: 32px;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
    border-radius: 0 8px 8px 0;
}

.impact-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.impact-item p {
    color: var(--lg);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
}

/* <CHANGE> Enhanced image styling to match the new layout */
.results-detail-section .image-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Mobile responsive for results detail */
@media (max-width: 768px) {
    .results-detail-section .two-column-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* <CHANGE> Reset order for mobile - show content first, then image */
    .results-detail-section .image-column {
        order: 1;
    }
    
    .results-detail-section .content-column {
        order: 0;
    }
    
    .impact-list {
        gap: 32px;
    }
    
    .impact-item:not(:last-child)::after {
        height: 16px;
        bottom: -16px;
    }
    
    .results-detail-section .content-column h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 32px;
    }
    
    .impact-item {
        border-left-width: 4px;
        padding-left: 24px;
    }
    
    .impact-item h4::before {
        left: -32px;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .impact-item h4 {
        font-size: 1.3rem;
    }
    
    .impact-item p {
        font-size: 1rem;
    }
    
    .impact-item {
        padding-left: 20px;
    }
    
    .impact-item h4::before {
        left: -28px;
    }
}

/* CTA Section - Gradient Background */
.cta-section {
    background: linear-gradient(135deg, var(--orange), var(--darkorange));
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--orange);
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-secondary:hover {
    background: white;
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .two-column-grid {
        gap: 40px;
    }
    
    .case-study-hero h1 {
        font-size: 3rem;
    }
    
    .section-title,
    .section-header h2,
    .cta-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero-grid,
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-study-hero,
    .results-section,
    .challenge-section,
    .solution-section,
    .results-detail-section,
    .cta-section {
        padding: 60px 20px;
    }

    #case-study-back{
      margin-top:65px;
      padding:0 20px;
    }
    
    .case-study-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title,
    .section-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .hero-description,
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 16px;
    }
    
    .solution-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-hero h1 {
        font-size: 2rem;
    }
    
    .section-title,
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .image-wrapper {
        padding: 0px;
        border:none;
    }
    
    .solution-card,
    .result-card {
        padding: 30px 20px;
    }

    .result-number{
      font-size: 2em;
      margin-bottom: .5rem;
    }
}

/* Thank You Page Styles */

#thank-you-section{
  background: url(images/hero-city.jpg) no-repeat center;
  background-size: cover;
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-content .success-icon {
    font-size: 4rem;
    color: var(--orange);
    margin-bottom: 20px;
    display: block;
}

.thank-you-content h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
}

.thank-you-content .lead-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--lg);
    margin-bottom: 30px;
}

.next-steps-box {
    background: var(--black);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 2px solid var(--orange);
    position: relative;
    overflow: hidden;
}

.next-steps-box h3 {
    margin-bottom: 20px;
    color: var(--orange);
    font-size: 1.8rem;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--darkgray);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 8px 25px rgba(249, 98, 16, 0.2);
}

.step-item i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.step-item:hover i {
    color: var(--lightorange);
    transform: scale(1.1);
}

.step-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.step-item p {
    color: var(--lg);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.contact-buttons {
    padding: 30px;
    background: var(--darkgray);
    border-radius: 10px;
}

.contact-buttons h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--orange);
    font-weight: 600;
}

.contact-buttons p {
    margin-bottom: 20px;
    color: var(--lg);
    font-size: 1rem;
}

.btn-primary, .btn-success {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    margin: 5px 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--orange);
    border:2px solid var(--orange);
    color: white;
}

.btn-primary:hover {
    background: var(--darkorange);
    border:2px solid var(--darkorange);
    transform: translateY(-2px);
}

.btn-success {
    background: transparent;
    color: var(--lg);
    border: 2px solid var(--orange);
}

.btn-success:hover {
    background: white;
    color: var(--orange);
    transform: translateY(-2px);
    border:2px solid white;
    box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .thank-you-content {
        padding: 0px 15px;
    }
    
    .thank-you-content h2 {
        font-size: 2rem;
    }
    
    .thank-you-content .lead-text {
        font-size: 1.1rem;
    }
    
    .next-steps-box {
        padding: 30px 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-item {
        padding: 20px 15px;
    }
    
    .contact-buttons {
        padding: 25px 20px;
    }
    
    .btn-primary, .btn-success, .btn-outline {
        display: block;
        margin: 20px 0;
        text-align: center;
    }
    
    .additional-links {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .thank-you-content .success-icon {
        font-size: 3rem;
    }
    
    .thank-you-content h2 {
        font-size: 1.8rem;
    }
    
    .next-steps-box h3 {
        font-size: 1.5rem;
    }
    
    .step-item i {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-success, .btn-outline {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Animation for success icon */
@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-icon {
    animation: checkmark 0.8s ease-out;
}

/* Gradient text effect for main heading */
.thank-you-content h2 {
    background: var(--orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Additional brand styling */
.next-steps-box,
.contact-buttons,
.additional-links {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for CTA buttons */
@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 98, 16, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(249, 98, 16, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 98, 16, 0);
    }
}

.btn-primary:hover {
    animation: cta-pulse 2s infinite;
}

/*SERVICE INDEX PAGE STYLES*/

.service-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-index-card {
  background: linear-gradient(to left, white, var(--lg));
  border-radius: 8px;
  color: var(--black);
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--lg); /* replaced var(--border) with var(--lg) */
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
}

.service-index-card:nth-of-type(2) {
  background: linear-gradient(to right, white, var(--lg));
}

.service-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-index-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--orange); /* replaced var(--primary) with var(--orange) */
  color: white; /* replaced var(--primary-foreground) with white */
  border-radius: 12px; /* replaced var(--radius-lg) with actual value */
  font-size: 2rem;
  flex-shrink: 0;
}

.service-index-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-index-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--black); /* replaced var(--foreground) with var(--black) */
  margin: 0;
  line-height: 1.2;
}

.service-index-highlight {
  color: var(--orange);
}

.service-index-content p {
  color: var(--gray); /* replaced var(--muted-foreground) with var(--gray) */
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.service-index-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange); /* replaced var(--primary) with var(--orange) */
  color: white; /* replaced var(--primary-foreground) with white */
  padding: 0.75rem 1.5rem;
  border-radius: 6px; /* replaced var(--radius-md) with actual value */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  width: fit-content;
  margin-top: 0.5rem;
}

.service-index-cta:hover {
  background: var(--darkorange); /* replaced var(--secondary) with var(--darkorange) */
  transform: translateX(2px);
}

.service-index-image {
  width: 200px;
  height: 150px;
  border-radius: 6px; /* replaced var(--radius-md) with actual value */
  overflow: hidden;
  flex-shrink: 0;
}

.service-index-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-index-card:hover .service-index-image img {
  transform: scale(1.05);
}

@media (max-width: 1099px) {
  .service-index-grid {
    gap: 2.5rem;
  }

  .service-index-card {
    padding: 2rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .service-index-image {
    width: 100%;
    height: 200px;
    order: -1;
  }

  .service-index-content h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .subpage-content {
    padding: 2rem 0;
  }

  .service-index-grid {
    gap: 2rem;
  }

  .service-index-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .service-index-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    margin: 0 auto;
  }

  .service-index-content h3 {
    font-size: 1.5rem;
  }

  .service-index-content p {
    font-size: 0.9rem;
  }

  .service-index-image {
    height: 180px;
  }

  .service-index-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
}
