/* General Body Styling */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1rem;
}

body {
    padding-top: 10px; /* Adjust if navbar height changes */
    font-family: 'Roboto', sans-serif;
    background: url('images/benchmark/siteplate/grassbck.jpg') repeat;
    color: #333;
}


/* Tagline Bar Styling */
.tagline-bar {
    background-color: #022622;
    padding: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}




/* Header Styling */
.hero-header {
    background-image: url('images/benchmark/siteplate/headerwith_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 240px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-header {
        background-size: cover; /* Use cover for both desktop and mobile */
        background-position: center;
        height: 12vh; /* Reduced height for mobile */
    }
}







/* Navbar Styling */
.navbar {
    background-color: #2d472d; /* Dark green background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
}

/* Navbar Brand (Logo & Text) */
.navbar-brand {
    color: white !important;
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    margin-right: 8px;
}

/* Navbar Links */
.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: white !important;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

/* Custom Toggler Icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9b99b' viewBox='0 0 30 30'%3E%3Cpath stroke='%23c9b99b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile Navbar Fix */
@media (max-width: 991px) {
    .navbar {
        flex-wrap: nowrap;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    /* Ensure dropdown covers full screen */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(45, 71, 45, 0.95); /* Dark green with slight transparency */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000; /* Ensure it's above other content */
    }

    .navbar-nav {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
    }
}






/* Footer */
.footer {
    background-color: #2d472d; /* Footer matches navbar */
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 0px;
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
    main {
        padding: 10px;
    }

    .sidebar {
        margin-top: 20px; /* Add spacing above sidebar */
    }



/* Footer */
.footer {
    background-color: #2d472d; /* Footer matches navbar */
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 0px;
}

.footer-info,
.footer-contact h3 {
    font-size: 1.5rem;
    color: #c9b99b;
    margin-bottom: 5px;
}



.footer a {
    color: #c9b99b;
    text-decoration: none;
}

.footer a:hover {
    
    text-decoration: underline;
}

/* Footer Tiles */
.footer-tiles {
    margin-top: 30px;
    text-align: center;
}

.tile {
    margin-bottom: 20px;
}

.tile img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.tile-caption {
    font-size: 1.1rem;
    color: #c9b99b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-tiles {
        flex-wrap: wrap;
    }

    .tile {
        margin-bottom: 15px;
    }
}


























/* Main Content Styling */
main h2, main h3 {
    color: #2d472d; /* Dark green headings */
}

main p {
    line-height: 1.6; /* Improve readability */
}

ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* Portfolio Images */
img.img-fluid {
    border: 2px solid #c9b99b; /* Light tan border */
}

img.img-fluid:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    transition: transform 0.3s ease-in-out;
}

/* Sidebar Styling */
aside {
    margin-top: 20px;
}

aside h4 {
    color: #2d472d; /* Match main headings */
}

aside .bg-light {
    border: 1px solid #c9b99b; /* Match portfolio border */
}

aside ul li {
    margin-bottom: 5px;
}

}

/* To Top of Page Arrow */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.back-to-top img {
    width: 100%;
    height: 100%;
    display: block; /* Ensures image fills the button properly */
}












/* Custom Contact Form Styling */
.custom-input, .custom-textarea {
    background-color: #3f703f; /* Slightly darker green background for input */
    color: white;
    border: 1px solid #c9b99b; /* Light tan border */
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

/* Button Styling */
.custom-btn {
    background-color: #c9b99b; /* Light tan button background */
    color: #2d472d; /* Dark green text */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-btn:hover {
    background-color: #b3967c; /* Darker tan background on hover */
    color: white; /* White text on hover */
}

/* Focus States */
.custom-input:focus, .custom-textarea:focus {
    outline: none;
    border-color: #89a789; /* Subtle highlight */
    background-color: #2d472d; /* Dark green background on focus */
    color: white;
}

/* Footer Contact Form - Same styling for desktop and mobile */
.footer-contact form {
    background-color: rgba(255, 255, 255, 0.1); /* Light overlay background */
    padding: 15px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-input, .custom-textarea {
        background-color: #3f703f; /* Green background on mobile */
        color: white;
        border: 1px solid #c9b99b;
    }

    .custom-btn {
        background-color: #c9b99b; /* Light tan background */
        color: #2d472d; /* Dark green text */
        font-weight: bold;
        padding: 10px 20px;
    }
}



/* Custom Contact Form Styling */
.custom-input, .custom-textarea {
    background-color: #3f703f; /* Slightly darker green background for input */
    color: white;
    border: 1px solid #c9b99b; /* Light tan border */
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

/* Button Styling */
.custom-btn {
    background-color: #c9b99b; /* Light tan button background */
    color: #2d472d; /* Dark green text */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-btn:hover {
    background-color: #b3967c; /* Darker tan background on hover */
    color: white; /* White text on hover */
}

/* Focus States */
.custom-input:focus, .custom-textarea:focus {
    outline: none;
    border-color: #89a789; /* Subtle highlight */
    background-color: #2d472d; /* Dark green background on focus */
}

/* Footer Contact Form - Same styling for desktop and mobile */
.footer-contact form {
    background-color: rgba(255, 255, 255, 0.1); /* Light overlay background */
    padding: 15px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-input, .custom-textarea {
        background-color: #3f703f; /* Green background on mobile */
        color: white;
        border: 1px solid #c9b99b;
    }

    .custom-btn {
        background-color: #c9b99b; /* Light tan background */
        color: #2d472d; /* Dark green text */
        font-weight: bold;
        padding: 10px 20px;
    }
}












/* General Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper for media elements */
.media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Hero Section Video and Image Styling */
.media-wrapper img, 
.media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay */
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Slide Content Styling */
.hero-section .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Slide Styling */
.hero-section .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-section .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}










.slide img, .slide video {
    display: block; /* Ensure visibility */
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Prevent image distortion */
    opacity: 1; /* Ensure they are not hidden */
    visibility: visible; /* Override hidden styles */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}


/* Adjust Carousel Item Display */
.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item blockquote {
    margin: 0;
}

/* Carousel Control Button Styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000; /* Ensures controls are visible */
}

/* Ensure that testimonials inside blocks align well */
.carousel-item .row {
    justify-content: center;
}

.carousel-item .col-md-4 {
    display: flex;
    justify-content: center;
}


