/* ---------------------------- Global Styles CSS ---------------------------- */


html, body {
    overflow-x: hidden;
}

body {
    padding-top: 0 !important;
    padding-right: 0 !important;
}


/* ---------------------------- Layout and Container Adjustments CSS ---------------------------- */

.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
    --bs-gutter-x: 0rem !important;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}


/* ---------------------------- Header and Navbar CSS ---------------------------- */

#header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: #fff;
}

#header .navbar {
    padding: 0px;
    margin: 0;
    background-color: #303030 !important;
}

#header .navbar .navbar-nav .nav-link {
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    padding: 1rem 2rem;
    font-size: small;
}

#header .navbar .navbar-nav .nav-link:focus {
    background-color: #fff;
    color: #909090;
    border-bottom: 0 solid #fff;
    border-right: 1px solid #303030;
    border-left: 1px solid #303030;
}

#header .navbar .navbar-nav .nav-item.active .nav-link:focus,
#header .navbar .navbar-nav .nav-link.active,
.navbar-nav > li.active > a {
    background-color: #fff;
    color: #303030;
    border-bottom: 1px solid #fff;
}

#header .navbar .navbar-nav .dropdown-menu {
    border-radius: 0;
    background-color: #fff;
    padding: 0;
    margin-top: 0;
    min-width: 100%;
    border-right: 1px solid #303030;
    border-left: 1px solid #303030;
    border-bottom: 1px solid #303030;
    border-style: none solid solid;
    box-shadow: none;
}

#header .navbar .navbar-nav .dropdown-item {
    color: #909090;
    padding: .75rem 1.5rem;
    text-transform: uppercase;
    font-size: small;
}

#header .navbar .navbar-nav .dropdown-item:hover {
    background-color: #636363;
    color: #e9ecef;
}

/* ---------------------------- Navbar Specific Styles CSS ---------------------------- */

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
}

.navbar-nav .nav-link::after {
    content: none;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #636363;
}

/* ---------------------------- Header Top Section CSS ---------------------------- */


.header-top {
    padding: 0;
    border-bottom: 0 solid #ccc;
    background-color: #fff;
}

.header-top .nav-link {
    color: #000;
    padding: 10px 17px;
    font-size: 17px;
}

.header-top .nav-link:hover {
    background-color: #eee;
}

/* ---------------------------- Special Alert Section CSS ---------------------------- */

.special-alert {
    padding: 5px 15px;
    background-color: #fff;
    font-size: 20px;
}

.special-alert a {
    color: #337ab7 !important;
    text-decoration-line: none;
}

.special-alert a:hover {
    text-decoration-line: underline;
}


/* ---------------------------- Footer Styles CSS ---------------------------- */

#footer {
    background-color: #303030 !important;
    color: #fff;
}

#footer .footer-nav .nav-link {
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

#footer .footer-nav .nav-link:hover,
#footer .footer-nav .nav-link:focus {
    border-bottom: 2px solid #fff;
}


/* ---------------------------- Button Styles CSS ---------------------------- */


.btn {
    color: #fff;
    background-color: #3a923a;
    border-top-width: initial;
    border-right-width: initial;
    border-bottom-width: initial;
    border-left-width: initial;
    border-style: none;
    border-color: initial;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    text-transform: uppercase;
    transition-behavior: normal;
    transition: background-color .25s;
    border-radius: 2px;
    font-weight: 700;
    margin-top: 4px;
}

:not(.btn-check) + .btn:hover, .btn:first-child:hover {
    color: var(--bs-btn-hover-color);
    background-color: #48b749 !important;
    border-color: #48b749 !important;
}


/* ---------------------------- Carousel Styles CSS ---------------------------- */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #3a923a;
    width: 40px;
    height: 40px;
    border-radius: 8%;
    background-size: 60%, 60%;
}

.carousel-indicators [data-bs-target] {
    background-color: #000; /* Indicator color */
}

.carousel-inner2 {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 60vh; /* 60% of the viewport height */
}


/* ---------------------------- Call-to-Action Button CSS ---------------------------- */


.call-now-button {
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.call-now-button i {
    margin-right: 8px; /* Optional: Add some space between the icon and text */
    pointer-events: none; /* Ensure the icon does not block link functionality */
}

.call-now-button p {
    margin: 0;
}

.call-now-button:hover, .call-now-button:focus {
    text-decoration: none;
    color: inherit;
}


/* ---------------------------- Form Control and Input Styles CSS ---------------------------- */


.form-control {
    display: block !important;
    width: 100% !important;
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    appearance: none !important;
    border-radius: .375rem !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;

}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none;
}

.label {
    display: inline-block;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
}


/* ---------------------------- SAdditional Element Styles CSS ---------------------------- */


.text-white {
    color: #fff;
}

.ms-3 {
    margin-left: 1rem;
}

.text-start-new {
    text-align: left;
}

.grey-circle {
    background-color: #7ffd8f;
    color: #039e24;
}

.hero-top-margin {
    margin-top: 100px;
}

.mt-new {
    margin-top: 120px;
}

.mt-new2 {
    margin-top: 40px;
}

.rounded-circle {
    border-radius: 50% !important;
    background-color: #3a923a !important;
}


/* ---------------------------- Contact Section CSS ---------------------------- */


#contact {
    position: fixed;
    right: 0;
    top: 170px;
    max-height: 600px;
    bottom: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background: rgba(243, 243, 243, 0.9);
    padding: 10px;
    z-index: 9996;
    color: rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease;
    transform: translateX(100%);
    border-radius: 4px 0 0 4px;
    font-size: 1.5rem;
}

#contact:hover {
    cursor: pointer;
}

.custom-close-btn {
    position: absolute;
    top: 15px; /* Adjust the top position */
    right: 15px; /* Adjust the right position */
    width: 25px; /* Adjust the size */
    height: 25px; /* Adjust the size */
    background-color: transparent; /* Transparent background */
    border: none; /* Remove border */
    font-size: 20px; /* Font size for the icon */
    color: #000; /* Icon color, adjust to your preference */
    opacity: 0.7; /* Slight transparency */
    cursor: pointer; /* Pointer cursor on hover */
}

.custom-close-btn:hover {
    opacity: 1; /* Full opacity on hover */
}

.custom-close-btn::before {
    content: '\00d7'; /* Unicode for '×' (multiply symbol) */
    font-size: 20px; /* Adjust icon size */
    font-weight: bold;
    color: #000; /* Icon color */
}

body.contact-open #contact {
    transform: translateX(0);
    box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.1);
}

#contact:before {
    content: 'Contact';
    background: #3a923a;
    position: absolute;
    left: 8px;
    transform: rotate(90deg) translate3d(-50%, 142%, 0);
    padding: 15px;
    border-radius: 0px 0 10px 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    width: 120px;
    height: 60px;
}

.contact-open #contact:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
    left: 8px;
    text-align: center;
}

#contact .h4 {
    text-transform: uppercase;
    margin-bottom: 2rem;
}

#contact li {
    text-align: center;
    margin-bottom: 2rem;
}

#contact li:last-child {
    margin-bottom: 0;
}

#contact a {
    color: #303030;
    text-decoration: none;
}

/* ---------------------------- Back-to-Top Button CSS ---------------------------- */


#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #3a923a;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    z-index: 1000;
}

#back-to-top:hover {
    background-color: #48b749;
    color: #fff;
}


/* ---------------------------- Star Rating Styles CSS ---------------------------- */


.star-rating {
    font-size: 1.5rem;
    color: #ccc; /* Default star color */
}

.star-rating .star {
    cursor: pointer;
    color: #ffd700; /* Gold color for stars */
}

.star-rating .star:hover,
.star-rating .star.selected {
    color: #ffd700; /* Change color when selected or hovered */
}


/* ---------------------------- Display Text Styles CSS ---------------------------- */


.display-4b {
    font-size: calc(1.475rem + 2.7vw);
    font-weight: 300;
    line-height: 1.2;
    color: black;
}

.display-5b {
    font-size: calc(1.425rem + 2.1vw);
    font-weight: 300;
    line-height: 1.2;
    color: black;
}

.mb-3b {
    margin-bottom: 1rem !important;
    color: black;
}


/* ---------------------------- Date Picker Styles CSS ---------------------------- */


/* Adjust the overall picker style */
.picker {
    font-size: 14px !important; /* Adjust the font size */
}

/* Adjust the dropdown (select) inputs for month and year */
.picker__select--month,
.picker__select--year {
    padding: 5px !important;    /* Adjust the padding */
}

/* Adjust the calendar table styling */
.picker__table {
    width: 100% !important; /* Make sure the table takes full width */
}

.picker__header {
    text-align: center !important;
    position: relative !important;
    margin-top: 1.1em !important;
}

.picker__button--today:focus, .picker__button--clear:focus, .picker__button--close:focus {
    background: #8ffbb4 !important;
    border-color: #48b749 !important;
    outline: none !important;
}

/* Adjust the buttons at the bottom (Today, Clear, Close) */
.picker__footer .picker__button {
    font-size: 14px !important; /* Smaller font for the buttons */
    padding: 5px 10px !important; /* Adjust the padding for buttons */
}

.picker__day--highlighted {
    border-color: #3a923a !important;
}

.picker__day--today:before {
    content: " ";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-top: 0.5em solid #3a923a !important;
    border-left: .5em solid transparent;
}

.picker__day--infocus:hover, .picker__day--outfocus:hover {
    cursor: pointer;
    color: #000;
    background: #8ffbb4 !important;
}

.picker__button--today:hover, .picker__button--clear:hover, .picker__button--close:hover {
    cursor: pointer;
    color: #000;
    background: #8ffbb4 !important;
    border-bottom-color: #8ffbb4 !important;
}

.picker__button--today:before {
    top: -0.05em;
    width: 0;
    border-top: 0.66em solid #3a923a !important;
    border-left: .66em solid transparent;
}

/* Adjust the selected day styling */
.picker__day--selected, 
.picker__day--highlighted {
    background-color: #3a923a !important; /* Custom color for selected/highlighted day */
    color: #fff !important; /* Ensure the text color contrasts well */
}

/* Adjust the day names (Sun, Mon, etc.) */
.picker__weekday {
    font-size: 12px !important; /* Smaller font for day names */
}

.picker__select--month, .picker__select--year {
	border: 1px solid #8ffbb4 !important;
    height: 3em !important;
    padding: .5em !important;
    margin-left: .25em !important;
    margin-right: .25em !important;
    border-radius: 4px;
}


/* ---------------------------- Zoom Container Styles CSS ---------------------------- */


.zoom-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease-in-out;
    transform: scale(1); /* Initial scale */
    animation: zoomEffect 20s ease-in-out infinite;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2); /* Zoom in */
    }
    100% {
        transform: scale(1); /* Zoom out */
    }
}


/* ---------------------------- Margin Top Adjustments CSS ---------------------------- */


.margin-top {
    margin-top: 30px;
}

.margin-top.t-margin {
    margin-top: 100px;
    padding-top: 100px;
}

.hero-top-margin {
    margin-top: 100px;
}

.mt-new {
    margin-top: 120px;
}

.mt-new2 {
    margin-top: 40px;
}


/* ---------------------------- Background and Dark Mode Styles CSS ---------------------------- */


.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #303030 !important;
}

/* Add horizontal padding to sections with bg-dark only on mobile */
@media (max-width: 767px) {
    section.bg-dark,
    section.contact,
    section.review-onpage,
    section.main-top {
        padding-left: 15px;
        padding-right: 15px;
    }

    section.main-top {
        padding-top: 0px;
    }
}


/* ----------------------------  Custom Modal CSS ---------------------------- */


.custom-modal {
    display: none;
    position: fixed;
    z-index: 1050; /* Ensure this is higher than the overlay */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.custom-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    z-index: 1060 !Important; /* Modal content should have a higher z-index */
}

.custom-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

/* ---------------------------- SweetAlert2 CSS ---------------------------- */


/* Customizing the SweetAlert2 confirm button */
.swal2-container .swal2-popup .swal2-styled.swal2-confirm {
    border: 0;
    border-radius: .25em;
    background-color: #3a923a !important; /* Your custom color */
    color: #fff !important;
    font-size: 1em;
    padding: 10px 20px;
}

/* Customizing the SweetAlert2 cancel button */
.swal2-container .swal2-popup .swal2-styled.swal2-cancel {
    border: 0;
    border-radius: .25em;
    background-color: #d33 !important; /* Your custom color */
    color: #fff !important;
    font-size: 1em;
    padding: 10px 20px;
}

/* Customizing the SweetAlert2 title */
.swal2-container .swal2-popup .swal2-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333; /* Your custom color */
}

/* Customizing the SweetAlert2 content */
.swal2-container .swal2-popup .swal2-content {
    font-size: 1.2em;
    color: #555; /* Your custom color */
}

/* Customizing the SweetAlert2 popup */
.swal2-container .swal2-popup {
    border-radius: 8px;
    padding: 2em;
    background-color: #f8f8f8;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Customizing the SweetAlert2 close button */
.swal2-container .swal2-popup .swal2-close {
    font-size: 1.5em;
    color: #aaa;
}

.ui-slider .ui-slider-handle {
    width: 1.5em; 
    height: 1.5em; 
    margin-top: -0.5em; 
    touch-action: none; /* Prevents conflict with mobile touch gestures */
}


    .form-label {
        margin-bottom: 0.5rem;
    }
    .form-select, .form-control {
        height: calc(2.25rem + 2px);
    }
    #priceSlider .ui-slider-handle {
        width: 1.5em;
        height: 1.5em;
		background-color: #48b749;
		border: 1px solid #c5c5c5;
		background: #8ffbb4;
		font-weight: normal;
		color: #454545;
    }
    .d-grid .btn {
        padding: 0.75rem 1.5rem;
    }
    .d-flex .form-check {
        margin-right: 1rem;
    }


/* ---------------------------- Media Queries for Responsiveness CSS ---------------------------- */


@media (max-width: 991px) {
    #contact {
        display: none;
    }

    #header .special-alert {
        flex-flow: row wrap;
        font-size: 16px;
    }

    .header-top {
        display: none;
    }
}

@media (max-width: 767px) {
    .carousel-inner2 {
        position: relative;
        width: 100%;
        overflow: hidden;
        height: 70vh; /* Adjusted height for mobile */
    }

    .navbar-dark {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

@media (min-width: 992px) {
    .pt-lg-1 {
        padding-top: 0rem !important;
    }
}
