/* ------------------------------
   General Reset & Body
------------------------------ */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #2c2c2c;
    background-color: #ffffff;
}

/* ------------------------------
   Navigation
------------------------------ */
.navbar {
    background-color: #1f5c1f !important; /* dark green */
}
.navbar .navbar-brand, 
.navbar .nav-link, 
.navbar .nav-item .btn-outline-light {
    color: #ffffff !important;
}
.navbar .nav-link:hover,
.navbar .nav-item .btn-outline-light:hover {
    color: #e6f4e6 !important;
}

/* ------------------------------
   Hero Carousel
------------------------------ */
.hero-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.hero-carousel .owl-carousel .item {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-carousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 122, 44, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.hero-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    margin: 5px 6px;
    border-radius: 50%;
    transition: background 0.3s;
}

.hero-carousel .owl-dot.active span {
    background: #2c7a2c;
}

/* ------------------------------
   Hero Features Section
------------------------------ */
/* Make hero-features sit right on top of carousel */
.hero-features-section {
    margin-top: -60px; /* negative margin to overlap carousel */
    padding-top: 20px; /* optional padding inside */
    padding-bottom: 20px; /* spacing below features */
    background-color: #e6f2e6; /* light green matching theme */
    position: relative;
    z-index: 5;
}

/* Hero features inside container */
.hero-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

/* Each feature card styling */
.hero-feature {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    margin: 0 10px; /* spacing between cards */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Make carousel dots stay inside carousel */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

/* ------------------------------
   Cards / Services
------------------------------ */
.card-service {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.card-service .feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ------------------------------
   Footer
------------------------------ */
.site-footer {
    background-color: #1f5c1f; /* dark green */
    color: #ffffff;
    padding: 60px 0 20px 0;
}
.site-footer a {
    color: #e6f4e6;
    text-decoration: none;
}
.site-footer a:hover {
    color: #ffffff;
}

/* ------------------------------
   General Headings
------------------------------ */
h1, h2, h3, h4, h5, h6 {
    color: #2c7a2c;
}
p, li, small {
    color: #2c2c2c;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
    .hero-feature {
        flex: 1 1 100%;
        margin: 10px 0 0 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}
/* Navbar background */
.navbar {
    background-color: #006400 !important; /* dark green */
}

/* Navbar links */
.navbar .nav-link,
.navbar .navbar-brand {
    color: #ffffff !important; /* white text */
}

/* Navbar hover effect */
.navbar .nav-link:hover {
    color: #b2ff59 !important; /* light green highlight */
}

/* Navbar button */
.navbar .btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}

.navbar .btn-outline-light:hover {
    background-color: #b2ff59;
    color: #006400;
}
.hero-carousel .owl-carousel {
    position: relative; /* needed for positioning dots */
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 15px; /* distance from bottom of slide */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.7);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-carousel .owl-dot.active {
    background: #b2ff59; /* light green active dot */
}



/* Carousel overlay */
.hero-carousel .overlay {
    background: rgba(44, 122, 44, 0.5); /* semi-transparent green overlay */
}

/* Carousel text */
.hero-carousel .hero-content h1 {
    color: #ffffff; /* white text for heading */
    font-size: 3rem;
    font-weight: bold;
}

.hero-carousel .hero-content p {
    color: #f0f0f0; /* light grey for subtitle */
    font-size: 1.2rem;
}

/* Make sure it does NOT inherit h1, h2, p, li, etc. global styles */
.hero-carousel .hero-content * {
    color: inherit !important;
}

/* Optional: buttons or links inside carousel */
.hero-carousel .hero-content a {
    color: #ffffff;
    text-decoration: none;
}

/* Ensure carousel overlay covers entire item */
.hero-carousel .owl-carousel .item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 600px; /* adjust height */
}

.hero-carousel .owl-carousel .item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Adjust dots color */
.hero-carousel .owl-dots .owl-dot span {
    background: #ffffff; /* white dots */
}

.hero-carousel .owl-dots .owl-dot.active span {
    background: #2c7a2c; /* active dot green */
}