:root {
  --primary: #111111;
  --secondary: #8fce00;
  --tertiary: #36b800;
  --bg-color: #302923;
  /* font colors */
  --font-primary: #fff;
  --font-secondary: #111111;
  --font-tertiary: #36b800;
  --font-green: #8fce00;

  --fontstyle-primary: 'Poppins', sans-serif;
  --fontstyle-secondary: 'Outfit', sans-serif;

    --font-size-sm: clamp(12.8px, 0.05vw + 12.61px, 13.5px);
    --font-size-base: clamp(18px, 1.1vw + 13px, 20px);
    --font-size-md: clamp(21px, 0.971vw + 18.6375px, 24.85px);
    --font-size-lg: clamp(28px, 1.602vw + 10.25px, 41px);
    --font-size-xl: clamp(32px, 2.0313vw + 13px, 52px);
    --font-size-xxl: clamp(50px, 27.5px + 4.3vw, 110px);
    --font-size-silly: clamp(62px, 39.5px + 7.3vw, 150px);

  --section-spacing: 60px;
  scroll-behavior: smooth;
}

.bg-primary {
    background-color: #181818;
}

.bg-secondary {
    background-color: #192019;
}

.bg-vector {
    position: relative;
}

.bg-vector::after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("/Portals/0/Images/mountain_bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}

.bg-circle {
    position: relative;
}

.bg-circle * {
    z-index: 2;
}

.bg-circle::after {
    content: "";
    width: 512px;
    height: 747px;
    background-image: url(/Portals/0/Images/circle_graphic.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: 0;
    top: -50%;
    z-index: 1;
}

.color-secondary {
    color: var(--secondary) !important;
}

.review-card {
    width: 380px;
    height: 300px;
    background-color: #fff;
    border-radius: 12px;
    border-left: 15px solid #dadada;
    padding: 20px;
}


.white {
  color: white !important;
  font-weight: 500;
}

ul>li {
  list-style: none;
  position: relative;
}

ul>li::before {
  content: '+';
  position: absolute;
  font-size: 1.5em;
  left: 0;
  top: 50%;
  transform: translate(-150%, -50%);
  font-weight: 400;
}

h1,h2,h3,h4,h5,h6{
  margin-bottom: .5em;
  margin-top: .5em;
}

p {
    font-size: var(--font-size-base);
}

.subtitle {
    width: max-content;
    font-size: var(--font-size-sm);
    color: #8FCE00;
    border-radius: 28.5px;
    background: rgba(143, 206, 0, 0.25);
    padding: 5px 15px;
    margin: 0;
}

[class^="btn"] {
  padding: 6px 30px;
  border-radius: 20px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 600;
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--font-tertiary) !important;
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

.btn-primary:hover {
  background-color: var(--tertiary);
  color: var(--font-secondary) !important;
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--font-secondary) !important;
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

.btn-secondary:hover {
  background-color: var(--tertiary);
  color: var(--font-secondary) !important;
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

.no-wrap {
  width: max-content;
}

@media screen and (max-width: 768px) {
  .no-wrap {
    width: fit-content;
  }
}

.font-dark {
  color: var(--font-secondary);
  font-weight: 700;
}

.font-light {
    color: var(--font-secondary);
  font-weight: 500;
}

.footer-font {
  font-weight: 600;
  font-size: 18px;
  line-height: 1em;
  letter-spacing: .5;
}

.footer-font a {
  color: white;
}

.footer-font a:hover {
  color: gray;
}

/* Nav */
.nav-bar li::before {
  content: none;
}

#dnn_dnnLOGO365931_imgLogo {
  max-height: 120px !important;
}

.header-replace.sticky-fixed {
  min-height: 0 !important;
}

#dnn_BannerPane .content-builder:first-of-type>.is-section:first-of-type {
  padding-top: 150px;
}

.home-p-150 {
  padding-top: 150px;
}

.no-p150 {
  padding-top: 0px !important;
}

@media (max-width: 991px) {
  #dnn_BannerPane .content-builder:first-of-type>.is-section:first-of-type {
    padding-top: 0;
  }

  .home-p-150 {
    padding-top: 0;
  }

  .is-section-75 {
    height: auto !important;
  }
}

.dng-megamenu.header-split .primary_structure {
  transform: none !important;
}

/* Topography Section */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.is-overlay .is-overlay-bg.topography-bg {
  background-position: 50% 80px;
  background-size: contain;
}

@media screen and (max-width: 1920px) {
  .is-overlay .is-overlay-bg.topography-bg {
    background-size: cover;
  }
}

@media screen and (max-width: 991px) {
  .is-overlay .is-overlay-bg.topography-bg {
    background-size: contain;
    background-position: 50% 60%;
  }
}

/* Cards Section */
.cards-wrapper {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background-color: black;
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.5);
border: 2px solid white;
border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.card>h3 {
  margin-top: 0.5em;
  word-wrap: break-word;
  /* margin-bottom: 0; */
}

.card>img {
  width: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card>ul {
  text-align: left;
  margin-bottom: 0;
}

.card-front>*:last-child,
.card-back>*:last-child {
  margin-bottom: 0;
}

.cards-wrapper.two-col {
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 1199px) {
  .cards-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {

  .cards-wrapper,
  .cards-wrapper.two-col {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 499px) {

  .card>img {
    width: 75%;
  }

  .card-home>img {
    width: 45%
  }
}

/* Card Flip */
.card-inner {
  z-index: 1;
  perspective: 1000px;
  transition: z-index 0.5s ease-in-out;
}

.card-inner:hover{
  z-index: 2;
  transition: z-index 0.5s ease-in-out;
}

.card-inner:hover .card-front {
transform: rotateY(-180deg) scale(1.25);
}

.card-inner:hover .card-back {
  transform: translate(-50%, -50%) rotateY(0deg) scale(1.25);
}

.card-front,
.card-back {
width: 100%;
backface-visibility: hidden;
border-radius: 0;
transition: transform 0.5s ease-in-out;
}

.card-front {
transform: rotateY(0deg);
}

.card-back {
  position: absolute;
transform: translate(-50%, -50%) rotateY(180deg) scale(1.25);
background-color: var(--secondary);
color: var(--font-secondary);
border-radius: 15px;
padding: 2rem;
top: 50%;
left: 50%;
text-align: left;
}

.card-back>h3{
  color: var(--font-secondary)
}

.card-back>ul {
margin-top: 0.5em;
padding-left: 0;
}

/* Service cards scale media screens and for mobile */

@media screen and (max-width: 1199px) {

  .card-inner:hover .card-front{
    transform: rotateY(-180deg) scale(1.125);
  }

  .card-inner:hover .card-back {
    transform: translate(-50%, -50%) rotateY(0deg) scale(1.125);

  }
}

 @media screen and (max-width: 575px) {

  .card-inner:hover .card-front{
    transform: rotateY(-180deg) scale(1);
  }

  .card-inner:hover .card-back {
    transform: translate(-50%, -50%) rotateY(0deg) scale(1);

  }
}
 /*
@media screen and (max-width: 499px) {
  .card-inner:hover .card-front,
  .card-inner:hover .card-back {
    transform: none; 
  }
} */


/* Homepage Contact Splash */
.contact-splash {
  position: relative;
  min-height: 800px;
}

.contact-splash .is-box-6 {
  min-height: 1000px;
}

.contact-splash .contact-info {
  padding-right: 325px;
}

.contact-splash .contact-info>.is-container {
  width: 400px;
  margin: auto 0 500px auto;
}

.contact-splash .info-bg {
  background-position: 50% 100%;
  background-size: contain;
}



/* contact card */
.contact-card-container {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: 1;
  transform: translate(75px, -50%);
  width: 450px;
  color: var(--font-secondary);
}

.contact-card-container li::before {
  content: none;
}

.contact-card {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  /* overflow: hidden; */
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
}

.contact-card ul>li::before{
  content: none;
}

.contact-splash .contact-card .form_submit {
  position: relative;
}

.contact-splash .contact-card .form_submit>.form-btn {
  margin: 0;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 2rem;
  transform: translate(-50%, -50%);
}

.ad-contact .form_submit>.form-btn {
  margin: 0;
  position: relative;
  z-index: 5;
  left: 50%;
  top: 2rem;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
  .ad-contact .form_submit>.form-btn {
    position: absolute;
    top: 34rem;
    line-height: normal;
  }
  
}
@media screen and (max-width: 1439px) {
  .contact-splash .contact-info {
    padding-right: 200px;
  }

  .contact-card-container {
    transform: translate(50%, -50%);
  }
}

@media screen and (max-width: 991px) {
  .contact-splash .contact-info {
    padding-right: 0;
    align-self: flex-start;
  }

  .contact-splash .contact-info>.is-container {
    margin: var(--section-spacing) auto;
    width: unset;
  }

  .contact-splash .is-box-6 {
    min-height: 750px;
  }

  .contact-splash .contact-card .form_submit>.form-btn {
    margin: -15px;
    top: 3rem;
    white-space: nowrap;
  }
}

@media screen and (max-width: 499px) {

  .contact-card-container {
    width: calc(100vw - var(--section-spacing));
    margin-top: 20px;
  }
}

/* Home page contact form */

.powerforms-style08 input[type=text],
.powerforms-style08 input[type=email],
.powerforms-style08 input[type=url],
.powerforms-style08 input[type=tel],
.powerforms-style08 input[type=number],
.powerforms-style08 input[type=date],
.powerforms-style08 select,
.powerforms-style08 textarea {
  color: var(--font-secondary) !important;
  border-bottom: 2px solid var(--font-secondary) !important;
  border-radius: 0 !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
  content: none !important;
}

#dnn_FullScreenPaneA {
  margin-bottom: 0;
}

.content {
  padding-left: 10rem;
  padding-right: 10rem;
}

@media only screen and (max-width: 969px) {

  .text-shadow-mobile {
    text-shadow: 2px 2px 4px black;
  }

  .height-300 {
    height: 200px;
  }

  .content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .mobile-flip-row {
    flex-direction: column;
  }

  .mobile-flip-col:nth-child(2) {
    order: -1;
  }
}

/* mobile menu */
.mobilemenu-main .gomenu>ul>li>a>span::after {
  background-color: #111111 !important;
  content: none !important;
}

/* Hide the contact form on the contact page */
/* [action="/3d-site-modeling"] .contact-card-container, */
[action="/contact-us"] .contact-card-container,  [action="/3d-modeling"] .hide-footer, [action="/contact-thank-you"] .contact-card-container, [action="/3d-site-modeling"] .hide-footer{
    display: none;
}


.ad-header{
    color: var(--font-green);
    font-size: 2.5rem;
}

.job-button{
 position: absolute;
    transform: translateY(50%);
    bottom: 0;
}
.job-button-home{
   position: absolute;
    transform: translateY(50%);
    bottom: 0;
}

@media (max-width: 767px) {
  .job-button{
    position: relative;
    transform: none;
  }
  .job-button-1{
    position: relative;
    transform: none;
  }
}

.card.ad{
  padding: 1.5rem !important;
}
.cards-wrapper.ad{
  gap: 2.5rem !important;
}


.is-section .button-group a {
        color: white; /* Text color for better contrast */
        padding: 0px 30px; /* Padding for better appearance */
        text-decoration: none; /* Remove underline from links */
        border-radius: 5px; /* Rounded corners for buttons */
    }
     

.button-group {
    white-space: normal;
    height: auto;
}

ul.list-01 {
    width: 100%;
    list-style: none;
    list-style-type: none;
    margin: 0 auto;
}

ul.list-01 li {
    width: 100%;
    color: var(--secondary);
    font-size: var(--font-size-md);
    border-bottom: 1px solid #fff;
    padding: clamp(10px, 10vw, 1.4rem);
    cursor: pointer;
}

ul.list-01 li.active {
    border-radius: 6px 6px 0 0;
    background: rgba(255, 255, 255, 0.15);
}

ul.list-01 li::before {
    content: "";
}

.carousel-item {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    transition: opacity 2s ease;
}

.carousel-item span {
    position: absolute;
    top: -50%;
    left: -10%;
    font-size: 150px;
    color: white;
    opacity: 0.2;
}

.carousel-item p {
    max-width: 400px;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.buttons {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.buttons button {
border: none;
outline: none;
width: 25px;
height: 25px;
background-color: rgba(255, 255, 255, 0.15);
border-radius: 50%;
margin-top: 25px;
}

.buttons button.active {
background-color: #638d0a;
}

.tab-pane {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.tab-pane.active {
    animation: fadeIn 1.5s ease;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

@keyframes fadeIn {
    from {
    opacity: 0;
    }
    to {
    opacity: 1;
    }
}

/* Grid Layouts */
[class^="grid"] {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    gap: 10px;
}

/* Grid 3x2 */
.grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.grid-3x2 [class^="item-0"] {
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
}

.item-01-3x2 {
    grid-column: span 2 / span 2;
    background-image: url("/Portals/0/Images/modeling.png");
    border: 2px solid white;
}

.item-02-3x2 {
    grid-column-start: 3;
    padding: 1rem;
}

.item-03-3x2 {
    grid-column: span 3 / span 3;
    grid-row-start: 2;
    border: 2px solid white;
    background-image: url("/Portals/0/Images/land_surveying_two.jpg");
}

/* Grid 2x4 */
.grid-2x4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

.grid-2x4 [class^="item-0"] {
    border-radius: 20px;
    border: 2px solid white;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}

.grid-2x4 [class^="item-0"]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #192019 0%, rgba(25, 32, 25, 0.00) 100%);
    border-radius: 20px;
}

.grid-2x4 [class^="item-0"] .content-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.item-01-2x4 {
    grid-row: span 4 / span 4;
    background-image: url(/Portals/0/Images/3d_site_map.png);
}

.item-02-2x4 {
    grid-row: span 2 / span 2;
    background-image: url("/Portals/0/Images/land_surveying.jpg");
}

.item-03-2x4 {
    grid-row: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 3;
    background-image: url(/Portals/0/Images/topographic_mapping.png);
}

ul.icon-list {
    list-style: none;
}

ul.icon-list > li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0 0 20px;
}

ul.icon-list > li p {
    line-height: 1.5;
}

ul.icon-list > li::before {
    content: "";
}

@media screen and (max-width: 768px) {
    .button-group a {
        margin-bottom: 10px;
    }

    .button-group a:last-child {
        margin-bottom: 0;
    }

    .carousel-item span {
        top: -30%;
        left: 0;
    }

    .grid-3x2, .grid-2x4 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .grid-3x2 [class^="item-0"],
     .grid-2x4 [class^="item-0"] {
        grid-column: unset;
        grid-row: unset;
        height: 300px;
    }

    .item-01-3x2 {
        order: 2;
    }

    .item-02-3x2 {
        order: 1;
        height: 100% !important;
    }

    .item-03-3x2 {
        order: 3;
    }
}

@media screen and (max-width: 470px) {
    .carousel-item span {
        top: -35%;
        left: 0;
    }
}

@media screen and (max-width: 375px) {
    .carousel-item span {
        font-size: 125px;
        top: -30%;
    }
}

@media screen and (max-width: 375px) {
    .carousel-item span {
        font-size: 100px;
        top: -25%;
    }
}
























