
:root{
    --hero-bg: url('/img/bg.jpg');
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

.hero {
    min-height: 100vh;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    isolation: isolate;
    -moz-box-shadow:0 10px 10px rgba(182, 182, 182, 0.75);
-webkit-box-shadow: 0 10px 10px rgba(182, 182, 182, 0.75);
box-shadow: 0 10px 10px rgba(182, 182, 182, 0.75);
}

/* Overlay for readability (below particles and text) */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.50);
    z-index: 0;
}

/* Particles layer (covers hero, behind text) */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;            /* same as overlay; order doesn’t matter since both are behind text */
    pointer-events: none;  /* keep hero clickable */
}

/* Text & scroll indicator should sit above everything */
.hero-text, .scroll-indicator {
    position: relative;
    z-index: 1;
}

/*.hero-text {
text-align: center;
max-width: 720px;
} */
.hero-text h1 { /* small title */
    font-size: 6rem;
    font-weight: 300;
    font-style: normal;
    margin-bottom: .5rem;
}

.hero-text h1 span {
    font-weight: 700;
    background-image: url("/img/text-bg.jpg");
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: cover;
    text-shadow: 2px 8px 6px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    color: #919191;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 6px;
}


/* Subtle float for the whole scroll indicator (text + chevron) */
.scroll-indicator {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    opacity: 0.9;
    transition: opacity .2s ease;
    animation: floatY 3s ease-in-out infinite;  /* single animation for the whole link */
}

.scroll-indicator:hover { opacity: 1; }

/* Chevron only defines its look now—no animation */
.chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

/* Keyframes for the shared float */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); } /* subtle lift */
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator { animation: none !important; }
}

#intro p {
    font-size: 0.85rem;
    color: #989898;
    line-height: 24px;
}

.services-section {
    background: #f2f2f2;
    padding-top:70px;
    padding-bottom:70px;
}

.service-box {
  z-index: 1;
  position: relative;
  overflow: hidden;
  background: #c2c4c3;
  padding: 30px;
  -moz-border-radius: 0px;
-webkit-border-radius: 6px 6px 0px 0px;
border-radius: 6px 6px 0px 0px; 
}

.service-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #4fa165;
  background-image: linear-gradient(45deg, #4fa165 0%, #336340 50%, #1d3824 100%);
  width: 100%;
  height: 3px;
  -webkit-transition: linear 0.1s;
  transition: linear 0.1s;
}