html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/*body {
  margin-bottom: 60px;
}*/

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    --def-green: #5B7742;
    --dark-bg: #0a0a0a;
    --gray: #ccc;
}

body {
    background-color: var(--dark-bg);
    color: var(--gray);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    background-color: var(--def-green);
    padding: 15px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    header .brand {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header img {
        height: 75px;
        margin-right: 10px;
    }

    header h1 {
        color: #fff;
        font-weight: 700;
        letter-spacing: 1px;
        margin: 0;
    }

nav.main-nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    nav.main-nav a:hover {
        color: var(--def-green);
    }

/* Carousel */
#heroCarousel .carousel-item img {
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.6);
}

#heroCarousel .carousel-caption {
    bottom: 30%;
}

#heroCarousel h2 {
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 15px rgba(91,119,66,0.8);
}

#heroCarousel p {
    color: #ddd;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h2.section-title {
    color: var(--def-green);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

#about {
    background: radial-gradient(circle at top left, #151515, #000);
    text-align: center;
}

    #about p {
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.7;
    }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

    .gallery img {
        border-radius: 10px;
        transition: all 0.4s ease;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

        .gallery img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(91, 119, 66, 0.5);
        }

#types {
    background-color: #111;
}

    #types h3 {
        color: var(--def-green);
        font-weight: 700;
    }

    #types img {
        border-radius: 15px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        #types img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(91, 119, 66, 0.5);
        }

/* Testimonials */
#testimonials {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.testimonial-container {
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: center;
    align-items: center;
}

.testimonial-card {
    min-width: 70%;
    margin: 0 auto;
    background: rgba(20, 25, 18, 0.8);
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 0 20px rgba(91, 119, 66, 0.2);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    position: absolute;
}

    .testimonial-card.active {
        opacity: 1;
        transform: translateY(0);
        position: relative;
    }

    .testimonial-card p {
        font-size: 1.1rem;
        font-style: italic;
        color: #ddd;
        line-height: 1.7;
    }

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--def-green);
}

.testimonial-role {
    color: #999;
    font-size: 0.9rem;
}

.testimonial-nav {
    margin-top: 40px;
}

    .testimonial-nav button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background-color: #555;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

        .testimonial-nav button.active {
            background-color: var(--def-green);
        }

footer {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 40px 0;
    border-top: 2px solid #2d3c22;
}