/********** Template CSS **********/
:root {
    --primary: #a00f1b !important;
    --secondary: #042a63 !important; 
    --light: #EDF1FC;
    --dark: #000;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .10s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.nav-item.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-item.nav-link::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #f1f1f1;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-item.nav-link:hover {
    color: #f1f1f1; /* Text color changes on hover */
}

.nav-item.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.custom-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #a00f1b; /* Initial text color */
    background-color: #ffffff; /* Light background */
    transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
    background-color: #5c0108; /* Darker background on hover */
    color: #ffffff; /* White text on hover */
    border-color: #a00f1b;
}





/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.btn-primary {
    background-color: #a00f1b !important; /* Red */
    border-color: #a00f1b !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #820d16 !important; /* Slightly darker red */
    border-color: #820d16 !important;
}

.btn-secondary {
    background-color: #042a63 !important; /* Dark Blue */
    border-color: #042a63 !important;
    color: #ffffff !important;
}

.btn-secondary:hover {
    background-color: #021a3a !important; /* Slightly darker blue */
    border-color: #021a3a !important;
}



/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #a00f1b;
    border: 5px solid #fff;
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: #a00f1b;
    border-color: #000;
}

/* Add custom red background color */
.bg-red {
    background-color: #a00f1b !important;
}

/* Custom button styles for your services */
.btn.btn-square {
    background-color: #a00f1b;  /* Red background */
    color: white;                /* White text */
    border: 2px solid #a00f1b;  /* Red border */
}

.btn.btn-square:hover {
    background-color: #5c0108; /* Slightly darker red for hover */
    color: white;               /* Keep text white */
    border: 2px solid #5c0108;  /* Darker border for hover */
}

/* Keep the arrow icon white */
.btn-square i {
    color: white;
}

/* Style for the contact section */
.contact-info {
    background-color: #a00f1b; /* Red background */
    padding: 20px;
    color: #fff; /* White text color */
    width: fit-content;
    margin-right: 0px;
    
}

/* Heading text */
.contact-info p.fs-5 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 2rem;
    color: #fff; /* White text color for phone number */
    margin: 0;
}

.contact-info p.text-white {
    font-size: 1rem;
    margin-top: 5px;
    font-weight: 400;
}

.read-more-btn {
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: red;
    color: white;
    text-decoration: underline;
}

.read-more-btn:hover .fa-arrow-right {
    color: var(--secondary);
}



/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/homeee.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}



/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-text {
    min-height: 180px; /* Adjust the value as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

/* Clickable Image Container */
.clickable-image-container {
    width: 30%;
    margin-top: 50px; /* Adds space between the footer and image container */
}

.clickable-image-container img {
    width: 30%;
    height: auto;
    display: block;
    border-radius: 0; /* Optional, removes rounding of the image corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional, adds shadow around the image */
}

.clickable-image-container a {
    display: block;
    text-decoration: none;
}

.small-image {
    max-width: 75%; /* Adjusts width to 75% of the container */
    height: auto; /* Maintains aspect ratio */
    margin: 0 auto; /* Centers images */
}

.f-image-container {
    max-width: 50%;
    height: auto;
    border-radius: 0px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.quote-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}
.quote-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.quote-heading {
    color: #b22222;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.quote-text-content {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.quote-form {
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}
.quote-btn {
    background-color: #b22222;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    transition: 0.3s;
    width: 100%;
}
.quote-btn:hover {
    background-color: #8b1a1a;
}
.quote-form-input {
    margin-bottom: 15px;
}

.electric-fence-section {
    background-color: #ffffff;
    padding: 60px 0;
}
.electric-fence-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}
.electric-fence-heading {
    color: #b22222;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.electric-fence-text-content {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.electric-fence-benefits {
    color: #555;
    font-size: 1.1rem;
    list-style-type: square;
    margin-bottom: 30px;
}
.electric-fence-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}
.electric-fence-products {
    margin-top: 30px;
    color: #555;
    font-size: 1.1rem;
}