* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
    font-family: "Poppins", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Scroll indicator animation */
@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(12px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-wheel-animate {
    animation: scroll-wheel 2s ease-in-out infinite;
}

.price-card{
    background-color:#172B36;
    height:55vh;
    border-radius:35px;
    max-height: 560px;
}
.dot-line{
    height: 80vh;
    max-height: 520px;
}

.line{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.triangle::after{
    content: '';
    position: absolute;
    bottom: -10px; /* Adjust the value to control the shadow's offset */
    left: 0;
    width: 100%;
    height: 10px; /* Adjust the value to control the shadow's size */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}
.team-card{
    width: 190px;
    height: 260px;
    border-radius: 20px;
}
.team-card img{
    width: 190px;
    height: 260px;
    border-radius: 16px;
    top: -16px;
    right: 16px;
}
.team-sub{
    width: 190px;
}
.pd-wx{
    padding-right:8vw;
    padding-left:8vw;
}
@media screen and (max-width: 600px) {
    .pd-wx{
        padding-right:4vw;
        padding-left:4vw;
    }
}
html{
    scroll-behavior: smooth;
}

[data-scroll]{
    transition:all 1s
}
[data-scroll="in"]{
    opacity: 1;
    transform: translateY(0);
}
[data-scroll="out"]{
    opacity: 0;
    transform: translateY(50px);
}

.section{
    max-width: screen;
    width:100vw;
}

.section-lg{
    max-width:4560px;
    width:100vw;
}
/* .h-screen{
    max-height: 1000px;
} */
/* .section{
    scroll-snap-align:start;
}
body{
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    display: flex;
    flex-direction: column;
} */
body{
    overflow-x: hidden;
}
.slide-right{
    filter: blur(5px);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s;
}
.slide-right-show{
    opacity: 1;
    filter:blur(0);
    transform: translateX(0);
}

@media(prefers-reduced-motion) {
    .slide-right{
        transition: none;
    }
}


.fade-in-element {
    opacity: 0;
    animation: fade-in 1s ease-in-out;
}
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


::-webkit-scrollbar {
    width: 10px; /* width of the scrollbar */
}

/* Customize the scrollbar thumb */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #888; /* color of the thumb */
    border-radius: 5px; /* round the thumb */

}
.dialog-size{
    min-width:600px;
    width:50vw;
}


@media screen and (max-width:520px) {
    .dialog-size{
        min-width:320px;
        width:70vw;
    }
}
/* Keyframes for the animation */
@keyframes moveDownZoomOut {
    0% {
        transform: translateY(100px) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Apply animation to the element */
.zoomout {
    animation: moveDownZoomOut 0.3s forwards;
}
.navbar{
    z-index: 100000000;
}
.h-screen{
    /* max-height: 1000px; */
}
.tri-1{
    height:80vh;
    width:auto;
    max-height: 800px;
}
.tri-2{
    height:20vh;
    width:auto;
    max-height: 200px;
    left:35vw;
}
.tri-3{
    height:40vh;
    max-height: 400px;
    width:auto;
    left:20vw;
}
@media screen and (max-width:520px) {
}

.circlespinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    width: 20px;
    margin-left: 5px;
    height: 20px;
    color: white;
    stroke: #fff;
  }
    .path {
      stroke: hsl(210, 70, 75);
      stroke-linecap: round;
      animation: dash 1.5s ease-in-out infinite;
  }

  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }

.fade-in {
    opacity: 0; /* Start with transparent */
    /* animation: fadeIn 0.2s ease-in-out forwards; */
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Start from transparent */
    }
    to {
        opacity: 1; /* End at full opacity */
    }
}

.prospect-gradient{
    background:linear-gradient(0deg, rgb(10 10 10 / 70%), rgb(14 18 17 / 70%)), url(/images/leap/leap-process-prospects-city.webp);
    background-size:cover;
}
.prospect-gradient:hover{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-prospects-city.webp);
    background-size:cover;
}

.prospect-gradient-sm{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-prospects-city.webp);
    background-size:cover;
}
.planning-gradient{
    background:linear-gradient(0deg, rgb(10 10 10 / 70%), rgb(14 18 17 / 70%)), url(/images/leap/leap-process-planning.webp);
    background-size:cover;
}
.planning-gradient:hover{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-planning.webp);
    background-size:cover;
}
.planning-gradient-sm{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-planning.webp);
    background-size:cover;
}


.engineering-gradient{
    background:linear-gradient(0deg, rgb(10 10 10 / 70%), rgb(14 18 17 / 70%)), url(/images/leap/leap-process-engineering-electrical-cabinet.webp); 
    background-size:cover;
}
.engineering-gradient:hover{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-engineering-electrical-cabinet.webp); 
    background-size:cover;
}
.engineering-gradient-sm{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-engineering-electrical-cabinet.webp); 
    background-size:cover;
}

.commissioning-gradient{
    background:linear-gradient(0deg, rgb(10 10 10 / 70%), rgb(14 18 17 / 70%)), url(/images/leap/leap-process-commissioning.webp); 
    background-size:cover;
}
.commissioning-gradient:hover{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-commissioning.webp);
    background-size:cover;
}
.commissioning-gradient-sm{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-commissioning.webp); 
    background-size:cover;
}

.operation-gradient{
    background:linear-gradient(0deg, rgb(10 10 10 / 70%), rgb(14 18 17 / 70%)), url(/images/leap/leap-process-operations-engineer.webp);
    background-size:cover;
}
.operation-gradient:hover{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-operations-engineer.webp);
    background-size:cover;
}
.operation-gradient-sm{
    background:linear-gradient(0deg, rgb(14 154 227 / 83%), rgb(18 158 231 / 70%)), url(/images/leap/leap-process-operations-engineer.webp);
    background-size:cover;
}

.flipper:hover .front{
    opacity: 1;
}

/* 
.flipper:hover  {
    transform: rotateY(-180deg);
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.front,
.back {
    backface-visibility: hidden;
    
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
} */


/* .flip-container {
    height: 500px;
    width: 300px;
    background: cadetblue;

}

.flip-container:hover .flipper {
    transform: rotateY(-180deg);
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
} */
.nav{
    display:flex;
}

@media screen and (max-width:768px) {
    .nav{
        border-radius:0px;
    }
}

.hamburger-icon {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #69C8A5;
    right: 5%;
    border-radius: 4px;
}

.hamburger-icon p {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: white;
    columns: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

/* .hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon span:nth-child(3) {
    bottom: 0;
}

.hamburger-icon.active span:nth-child(1),
.hamburger-icon.active span:nth-child(3) {
    transform: rotate(45deg);
    top: 50%;
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
} */

.navbar-links {
    position: absolute;
    display: none;
    /* display: flex; */
    animation: moveUp2 0.3s ease-in-out;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    top: 96px;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    text-align: start;
    border-radius: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    left: 0px;
    right: 0px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin:0px!important;
    background-color: #69C8A5;
}

.show-links {
    display: flex;
    max-height: 300px;
}
.navbar-links a {
    margin-right: 1em;
    animation: moveUp 0.1s ease-in-out;
    animation-fill-mode: both;
}
.navbar-links a {
    padding: 3px 0px;
}
.bg-blue-500 {
    --tw-bg-opacity: 1;
    background-color: #2091C1!important;
}
.bg-pink-500 {
    --tw-bg-opacity: 1;
    background-color: #5f259f!important;
}


@keyframes scale-in {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }
  
  /* Apply the animation */
  .scale-on-hover {
    transition: transform 0.3s ease;
  }
  
  /* Pause the animation on hover */
  .scale-on-hover:hover {
    transform: scale(1.1);
    font-weight: bolder;
  }

.scale13{
    transform: scale(1.2);
}

@media screen and (max-width:768px) {
    .scale13{
        transform: scale(1);
    }
}


.tip {
    position: relative;
}

.tip .tiptext {
    visibility: hidden;
    width: 50px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 100%;
}

.tip:hover .tiptext {
    visibility: visible;
}

.rotating {
    animation: spin 2s linear infinite;
  }

@keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* ============================================
   SWIPER / CAROUSEL STYLES
   Grab cursor for dragging functionality
   ============================================ */

/* Main swiper container - enables grab cursor for dragging */
.swiper {
    cursor: grab !important;
}

/* Change cursor to grabbing when actively dragging */
.swiper:active {
    cursor: grabbing !important;
}

/* Center content within swiper slides */
.swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure project cards are centered on mobile */
@media (max-width: 1023px) {
    .swiper-slide > div {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ============================================
   TEXT LAYOUT & READABILITY
   Responsive max-widths and centering
   ============================================ */

/* Center all headlines and paragraphs except in hero section and project detail page */
h1:not(.hero-section h1):not(.hero-section *):not(.project-view *),
p:not(.hero-section p):not(.hero-section *):not(.project-view *) {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Base max-width - prevents text from stretching too wide */
h1, p {
    max-width: 100%;
}

/* Mobile and Tablet - add padding to prevent text hitting edges */
@media (max-width: 1023px) {
    h1:not(.hero-section h1):not(.hero-section *),
    p:not(.hero-section p):not(.hero-section *) {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Desktop - comfortable reading width on standard monitors */
@media (min-width: 1024px) {
    h1:not(.hero-section h1):not(.hero-section *) {
        max-width: 900px;
    }
    
    p {
        max-width: 800px;
    }
}

/* Large screens - slightly wider for bigger displays */
@media (min-width: 1536px) {
    h1:not(.hero-section h1):not(.hero-section *) {
        max-width: 1100px;
    }
    
    p {
        max-width: 950px;
    }
}

/* Ultra-large screens (4K etc) - maximum comfortable width */
@media (min-width: 2560px) {
    h1:not(.hero-section h1):not(.hero-section *) {
        max-width: 1400px;
    }
    
    p {
        max-width: 1200px;
    }
}

/* Hero section h1 - desktop only padding-top */
@media (min-width: 1024px) {
    .hero-section h1 {
        padding-top: 10%;
    }
}

/* ============================================
   BUTTON THEMES
   Centralized button color schemes
   ============================================ */

/* Primary button theme - dark green background with light mint text */
.btn-primary {
    background-color: #0b3228 !important;
    border-color: #ddf5ee !important;
    color: #ddf5ee !important;
}

.btn-primary .btn-divider {
    background-color: #ddf5ee !important;
}

.btn-primary .btn-arrow {
    color: #ddf5ee !important;
}

/* Secondary button theme - keep existing light theme */
.btn-secondary {
    background-color: #77cdf2 !important;
    border-color: #518ca6 !important;
    color: #518ca6 !important;
}

.btn-secondary .btn-divider {
    background-color: #518ca6 !important;
}

.btn-secondary .btn-arrow {
    color: #518ca6 !important;
}

/* ============================================
   PROJECT CARDS
   Featured projects swiper card styles
   ============================================ */

.project-card {
    width: 100%;
}

.project-card-half {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    overflow: hidden;
}

.project-card-top {
    background-color: #ddf5ee;
}

.project-card-bottom {
    border-top: 1px solid #1f6b5a;
}

.project-card .project-card-headline {
    font-size: 1.5rem;
    color: #0b3228;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
    max-width: none !important;
    text-align: left !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card .project-card-paragraph {
    color: #0b3228;
    text-align: left !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    max-width: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card .project-card-cta {
    padding-left: 24px;
}

.project-card-cta-circle {
    background-color: #0b3228;
    color: #ddf5ee;
}

.project-card .project-card-cta-text {
    color: #0b3228;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    padding-left: 10px !important;
    max-width: none !important;
}

/* Mobile overrides */
@media (max-width: 1023px) {
    .project-card {
        width: 100%;
    }
    .project-card-half {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    .project-card .project-card-paragraph {
        display: none !important;
    }
    .project-card .project-card-headline {
        font-size: 1.1rem !important;
    }
    .project-card .project-card-cta-text {
        padding-left: 10px !important;
    }
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

.service-heading {
    color: #0b3228;
}

.service-card {
    background-color: #ddf5ee;
    border: 1px solid #0b3228;
    color: #0b3228;
}

.service-card-arrow {
    background-color: #0b3228;
    color: #ddf5ee;
}

.service-competency-pill {
    background-color: #ddf5ee;
    border: 1px solid #0b3228;
    color: #0b3228;
}

.service-explore-section {
    border-color: #0b3228;
}

.service-explore-highlight {
    color: #0b3228;
    font-weight: bold;
}

.service-explore-btn {
    background-color: #0b3228;
    color: #ffffff;
}

.service-explore-btn:hover {
    background-color: #0f4a39;
}
}

/* Job card body: override global text-center rule */
.job-card-body p,
.job-card-body h1,
.job-card-body h2,
.job-card-body h3 {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
