body {
        font-family: Arial, Helvetica, sans-serif;
}

.btn-primary {
    background-color: #4fb451;
    border: 3px solid #4fb451;
    color: white;
    font-weight: bold;
    padding: 1rem 2.5rem;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    font-size: 1.125rem;
}

.btn-primary:hover {
    background-color: #449e46;
    border: 3px solid #449e46;
}

.btn-primary img {
    width: 1.5rem;
    height: auto;
}

a, a i {
    color: #fff;
}

a, a i:hover {
    color: #449e46;
}



/* Header */

/* Change the hamburger icon color */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(148,148,148,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


header {
    background-color: rgba(0, 0, 0, 0.4);
}

.nav-item {
    display: flex;
    align-items: center;
}

header .nav-link {
    color: rgba(148, 148, 148, 1) !important;
    font-weight: medium;
}

header .nav-link:hover {
    color: #4fb451 !important;
}

#navbar {
    display: flex;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.navbar {
  background-color: rgba(0, 0, 0, .5) !important;
}

.navbar-nav {
    display: flex;
    justify-items: center;
}

.navbar-toggler {
    stroke: white !important;
    border: 2px solid white;
    border-radius: .25rem;
}

.navbar-toggler-icon {
    background-image: url(/images/toggle-icon.png);
}
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    background: none;
	outline: unset;
	border: unset;
	box-shadow: none;
    outline: none;
}

.navbar-logo {
    width: 25%;
}

.navbar-logo img {
    width: 80%;
}

nav ul {
    font-size: 18px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
}

a:link {
    text-decoration: none;
    font-weight: bold;
}

/* Homepage */

h1 {
    color: rgba(255, 255, 255, 1);
}

/*****************************************************************************
* 
* Hero Video Section
*
*****************************************************************************/

#frontpage-main-video {
    position: relative; /* container for absolute child */
}

#hero-vid-label {
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 500px;
    color: white;
    z-index: 10;
}

#hero-vid-label h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem); /* scales with viewport */
    line-height: 1.2;
    color: inherit;
}

/* Hero label row */
.hero-vid-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero description / link styling */
.hero-read-more {
    font-weight: 700;
    color: #4fb451;
    font-size: 1.5rem;
    margin-left: 10px;
    text-decoration: none;
}

.hero-vid-paragraph {
    font-size: 1.5rem;
    font-weight: bolder;
    color: #69a948;
    margin-bottom: 0;
}

.hero-vid-arrow {
    width: 2rem; /* adjust as needed */
    height: auto;
}

/* ==========================
   Responsive adjustments
========================== */

@media (max-width: 1024px) {
    #hero-vid-label { max-width: 70%; }
}

@media (max-width: 695px) {
    #hero-vid-label { display: none; }
}

/*****************************************************************************
* 
* Feature Cards Section
*
*****************************************************************************/

.view-more {
    color: #4fb451;
    font-size: 18px;
    text-decoration: none;
}

.view-more:hover {
    color: #449e46;
}

#homepage-features {
    position: relative;
    margin-top: -5rem; /* pulls it up to overlap hero */
    z-index: 10; /* ensures it is above the hero video */
    padding-top: 5rem; /* optional breathing room */
}

#homepage-feature-previews {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* balanced smaller gap for fitting cards */
}

.feature-card {
    position: relative;
    overflow: visible;
    background-color: rgba(0, 0, 0, 1);
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    flex: 0 0 30%;  /* 3 cards per row default */
    max-width: 350px;
    min-width: 280px;
}

.feature-card img.card-img-top {
    width: 100%;
    height: 200px; /* consistent fixed height */
    object-fit: cover;
    display: block;
}

/* Button overlapping image */
.btn-feature {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: #4fb451;
    border: 3px solid #4fb451;
    color: white;
    font-weight: bold;
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    font-size: 1.125rem;
}

.btn-feature:hover {

    background-color: #449e46;
    border: 3px solid #449e46;
}

/* Button icon size */
.btn-feature img {
    width: 1.5rem;
    height: auto;
}

/* Responsive adjustments */

/* Tablet: 2 cards per row, hide 3rd */
@media (max-width: 991px) and (min-width: 768px) {

    #homepage-feature-previews .feature-card:nth-child(3) {
        display: none !important;
    }

}

/* Mobile: 3 cards per row */
@media (max-width: 480px) {
    #homepage-feature-previews {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    .feature-card {
        flex: 0 0 30%;  /* 3 cards per row */
        max-width: 320px;
        min-width: 280px;
    }
    .feature-card img.card-img-top {
        height: 180px;
    }
    .btn-feature {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -3rem;
        padding: 0.8rem 2rem;
        border-width: 2px;
        font-size: 1rem;
        white-space: normal;
        justify-content: center;
        width: auto;
        box-shadow: none;
    }
}


/*****************************************************************************
* 
* Front page introduction
*
*****************************************************************************/


#homepage-intro {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#homepage-intro h1 {
    text-align: center;
    color: rgba(148, 148, 148, 1);
}

#homepage-intro p {
    color: rgba(0, 0, 0, 1);
}

/* ============================
   Swiper Carousel Section
============================ */
.mySwiper {
    background-color: #000000; /* solid black */
  width: 100%;
  padding: 2.5rem 0 !important; /* space above/below */
  position: relative;
}

/* Slides wrapper */
.mySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mySwiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Image wrapper */
.mySwiper .carousel-image {
  width: 100%;
  height: 250px; /* consistent height */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Add space between slides */
.mySwiper .swiper-slide {
  padding: 0 10px; /* gap on sides */
}

/* Navigation buttons */
.my-swiper-button-prev,
.my-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px; /* slightly bigger for better visual balance */
  color: white;
  user-select: none;
  transition: background-color 0.3s ease;
}

/* Use ::after for arrow content and center it absolutely */
.my-swiper-button-prev::after,
.my-swiper-button-next::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: white;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.my-swiper-button-prev::after {
  content: "‹";
}

.my-swiper-button-next::after {
  content: "›";
}

.my-swiper-button-prev:hover,
.my-swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.my-swiper-button-prev:hover::after,
.my-swiper-button-next:hover::after {
  transform: translate(-50%, -50%) scale(1.2);
}


/* Positioning buttons on each side */
.my-swiper-button-next {
  right: 10px;
}

.my-swiper-button-prev {
  left: 10px;
}

/* Peek effect for large screens */
@media (min-width: 1024px) {
  .mySwiper {
    padding: 40px 60px; /* more side space for peek */
  }
}

/* Adjustments for mobile */
@media (max-width: 767px) {
  .mySwiper .carousel-image {
    height: 200px;
  }
}



/*****************************************************************************
* 
* Front page about
*
*****************************************************************************/


#home-about {
    padding-top: 5rem;
    padding-bottom: 5rem;
}


/*****************************************************************************
* 
* Previous Companies
*
*****************************************************************************/


#prev-comps {
  padding: 40px 0;
  overflow: hidden;
  white-space: nowrap;
}

#prev-comps h1 {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-track img {
  max-height: 200px;
  height: auto;
  margin-right: 40px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/*************************************************************************/


#home-quote h1 {
    margin: 0px;
    font-size: 70px;
    color: rgba(148, 148, 148, 1);
}

#home-quote {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
    color: rgba(148, 148, 148, 1);
}

#prev-comps {
    padding-top: 6rem;
}

#prev-comps h1 {
    text-align: center;
    color: rgba(148, 148, 148, 1);
}

/* Footer */

footer {
  height: 100vh !important;
  display: flex;
  flex-direction: column;
}

.footer-social {
  margin-top: auto; /* pushes socials to the bottom */
}

#site-footer {
    padding: 40px 0 20px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

#site-footer h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#social-icons a {
    color: #fff;
    transition: color 0.3s ease;
}
#social-icons a:hover {
    color: #ccc;
}

.footer-bottom-inner {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}

.copyright,
.credit {
    margin: 0;
    font-size: 0.9rem;
}

.webbin-it-link {
    color: #fff;
    text-decoration: underline;
}
.webbin-it-link:hover {
    color: #ccc;
}

/* Mobile: center everything */
@media (max-width: 767px) {
    .copyright,
    .credit {
        text-align: center !important;
    }
}


/* About template styles */
/* Full-width hero */
#about-hero img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

#about-content .about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* top-align image and text */
    margin: 1.25rem 0;
    gap: 1.5rem;
}

.about-col-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.about-inline-img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
    max-width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.about-content-text p {
    margin-bottom: 1rem; /* tighten spacing between paragraphs */
    line-height: 1.7;
}

@media (max-width: 768px) {
    #about-hero img { max-height: 300px; }
    .about-inline-img { max-height: 220px; }
    #about-content .about-row {
        flex-direction: column;
    }
}

}

/* -----------------------------
   TESTIMONIAL CAROUSEL WRAPPER
------------------------------*/

#testimonialCarousel {
  width: 100%;
}

/* Carousel item alignment */
#testimonialCarousel .carousel-item {
  display: none;
  justify-content: center;
  align-items: center;
}

#testimonialCarousel .carousel-item.active {
  display: flex !important;
}

/* CARD — updated to use grid for perfect vertical centering */
#testimonialCarousel .testimonial-card {
  height: 350px;
  max-width: 700px;
  width: 100%;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);

  display: grid;
  grid-template-rows: 1fr auto; /* text fills center, name stays bottom */
  align-items: center;
  justify-items: center;

  text-align: center;

  overflow: hidden;
  box-sizing: border-box;
}

/* TEXT — now allowed to naturally size, fully centered */
#testimonialCarousel blockquote.testimonial-text {
  margin: 0 auto;
  max-width: 90%;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #555;

  display: flex;
  align-items: center;      /* vertical centering inside its grid cell */
  justify-content: center;  /* horizontal centering */
  text-align: center;

  overflow: visible;
  white-space: normal;
}

/* Footer always anchored at bottom */
#testimonialCarousel footer.testimonial-name {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

/* controls */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
}

@media (max-width: 767px) {
  #testimonialCarousel .testimonial-card {
    padding: 18px;
    height: 320px;
  }
  #testimonialCarousel blockquote.testimonial-text {
    font-size: 1rem;
  }
}

/* Features */

#main-feature-previews {
    margin-bottom: 10rem;
} 

#main-feature-previews .row {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: row;
    gap: 5rem;
    justify-content: space-evenly;
}

#main-features h1 {
    text-align: center;
    color: rgba(148, 148, 148, 1);
    padding-bottom: 2rem;
}

#feature-carousel {
    margin-top: 10rem;
}

#feature-carousel .card-body {
    position: relative;
    background-color: #4fb451;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    margin: 0px;
}

#feature-carousel .card-body:hover {
    background-color: rgba(0, 0, 0, 1);
    border: 3px solid;
    border-color: #4fb451;
}

#feature-carousel .card-body img {
    width: 1rem;
}

#feature-carousel .card-body h5 {
    font-size: 18px;
    line-height: 1rem;
}

/* Features Details */



#single-feature h1 {
    color: rgba(148, 148, 148, 1);
}
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #4fb451;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Add spacing around the arrow */
.breadcrumb .breadcrumb-separator {
    margin: 0 0.25rem; /* space on both sides of the arrow */
    color: #555;
}

.breadcrumb span {
    color: #555;
}

/*
#single-feature video:hover {
    v
}*/

h2 {
    color: rgba(148, 148, 148, 1);
}

/* Masonry gallery (clean, reliable baseline) */
.feature-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 12px;      /* small base row height - JS multiplies this */
  gap: 10px;                 /* gap used in JS calculation too */
}

/* Ensure items are direct grid children */
.feature-gallery-masonry > .masonry-item {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  /* reset any anchors/inline that may collapse height */
  align-self: start;
}

/* Ensure images behave predictably */
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.masonry-item:hover img {
  transform: scale(1.03);
}

/* Optional subtle vertical offset for "woven" look */
.masonry-item:nth-child(odd) { transform: translateY(2px); }
.masonry-item:nth-child(even) { transform: translateY(-2px); }


/* Contact Us */


.btn-close-custom {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1051; /* above modal content */
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
	background-color: rgba(0, 0, 0, .3);
}
.modal .close {
    color: #949494;
    opacity: 1;
}
.modal-header, .modal-body { background-color: #000; color: #949494; }
.modal-body { padding: 0; }
.modal-form { padding: 40px 40px 0 40px; }

.btn-close-custom:hover {
  background: none;
}

.btn-close-custom i {
  color: rgba(148, 148, 148, 1);
  font-size: 1.25rem;
  pointer-events: none; /* icon itself shouldn't capture clicks */
  transition: color 0.3s ease;
}

.btn-close-custom:hover i {
  color: #69a948 !important;
}


.modal-content {
    background-color: rgba(0, 0, 0, 1);
}

#contact-form {
    background-color: rgba(0, 0, 0, 1);
}

.modal-title {
    color: rgba(148, 148, 148, 1);
}

#contact-form button {
    background-color: black;
    border-color: rgba(148, 148, 148, 1);
    border-width: 1px;
    color: rgba(148, 148, 148, 1);
    width: 100%;
}

#contact-form button:hover {
    background-color: #4fb451;
    border-color: #4fb451;
    color: rgba(0, 0, 0, 1);
}

button.close {
    background-color: black;
    border-color: rgba(148, 148, 148, 1);
    border-width: 1px;
}

button.close:hover {
    background-color: #4fb451;
    border-color: #4fb451;
    color: rgba(0, 0, 0, 1);
}

@media (max-width: 1024px) {

}

@media (max-width: 770px) {
    
}

@media (max-width: 695px) {

}