/********** Template CSS **********/
:root {
    --primary: #5b060d;
    --secondary: #900814;
    --light: #e66025;
    --dark: #2e0508;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
}

.btn-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}


.buttonbig {
    background-color: #5b060d; /* Matches the modal header background */
    color: #fff; /* White text */
    border: none; /* Remove default border */
    padding: 0.75rem 1.5rem; /* Padding for a bigger button */
    font-size: 1rem; /* Font size */
    border-radius: 0.5rem; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.buttonbig:hover {
    background-color: #790810; /* Slightly darker shade on hover */
}

.buttonbig:focus {
    outline: none; /* Remove focus outline */
    box-shadow: 0 0 0 2px #dcdcdc; /* Add a subtle shadow on focus */
}


.buttonbig_footers {
            background-color: #fff;
            color: #5b060d;
            border: none;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Initial shadow */
        }

        .buttonbig_footers:hover {
            background-color: #ede6e6;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
        }

        .buttonbig_footers:focus {
            outline: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on focus */
        }


.buttonbig_mobfooters {
            background-color: #fff;
            color: #5b060d;
            border: none;
            padding: 0.5rem 1.0rem;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
            font-size: 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Initial shadow */
        }

        .buttonbig_mobfooters:hover {
            background-color: #ede6e6;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
        }

        .buttonbig_mobfooters:focus {
            outline: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on focus */
        }

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

        #search-box {
    text-align: center;
    padding: 20px; /* Increase padding for more height */
}

#search-box input[type="text"] {
    width: 300px; /* Set the width of the search box */
    padding: 10px; /* Increase padding for more height */
    font-size: 16px; /* Set the font size */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 5px; /* Add border-radius for rounded corners */
    margin-right: 10px; /* Add some space to the right of the input */
}

#search-box button {
    margin-top: 12px; /* Increase padding for more height */
    padding: 10px; /* Increase padding for more height */
    font-size: 20px; /* Set the font size */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 5px; /* Add border-radius for rounded corners */
    cursor: pointer; /* Change cursor to pointer on hover */
    background-color: #5b060d; /* Set your desired background color */
    color: #ffffff; /* Set text color to contrast with the background */
}


   /* Container for search results */
.results-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* Space between cards */
  justify-content: center;
  padding: 20px;
}

/* Style for each result item card */
.result-item {
  width: 100%;
  max-width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e3e3da;
  display: flex;
  align-items: center; /* Vertically center the content */
  height: 200px; /* Set a fixed height for consistent layout */
  margin-left: 25px;
  margin-bottom: 25px;
}

/* Card hover effect */
.result-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Link style */
.result-item a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card content */
.service-item {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%; /* Fill the card's height */
}

/* Card title */
.result-title {
  font-size: 20px;
  font-weight: 500;
  font-family: 'Ponnala', Arial, sans-serif;
  margin: 5px 0;
  color: #333;
}

/* Card city */
.result-city {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  margin-bottom: 5px;
}

/* Description paragraph */
.result-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 5px 0;
}








/* Modal Dialog */
.modal-dialog.modelformail {
    max-width: 95%; /* Set max width to 95% of the viewport width */
    margin: 1.75rem auto;
}

/* Modal Content */
.modal-content {
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%; /* Full width for content */
}

/* Modal Header */
.modelformail-header {
    background-color: #5b060d; /* Green background */
    color: #fff; /* White text */
    padding: 1rem;
    border-bottom: 1px solid #dcdcdc;
    text-align: center; /* Center-align text */
}

/* Modal Body */
.modelformail-body {
    padding: 1.5rem;
    text-align: center;
}

/* Modal Footer */
.modelformail-footer {
    padding: 1rem;
    border-top: 1px solid #dcdcdc;
    text-align: center;
}

/* Button Style */
.buttonbig1 {
    background-color: #5b060d; /* Matches the modal header background */
    color: #fff; /* White text */
    border: none; /* Remove default border */
    padding: 0.75rem 1.5rem; /* Padding for a bigger button */
    font-size: 1rem; /* Font size */
    border-radius: 0.5rem; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
    width: 100%; /* Full width button */
    box-sizing: border-box; /* Include padding in width */
    max-width: 200px; /* Max width to control button size */
    margin: 0 auto; /* Center button */
}

.buttonbig1:hover {
    background-color: #790810; /* Slightly darker shade on hover */
}

.buttonbig1:focus {
    outline: none; /* Remove focus outline */
    box-shadow: 0 0 0 2px #dcdcdc; /* Add a subtle shadow on focus */
}

/* Media Queries for Smaller Screens */
@media (max-width: 600px) {
    .modal-dialog.modelformail {
        margin: 0.5rem; /* Reduce margin for smaller screens */
    }

    .buttonbig1 {
        font-size: 0.9rem; /* Slightly smaller font size */
        padding: 0.6rem 1.2rem; /* Adjust padding */
    }

    .modelformail-body {
        padding: 1rem; /* Reduce padding for modal body */
    }
}





/* General table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    background-color: #f2f2f2;
}

/* Table header styling */
th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

/* Table header background color */
th {
    background-color: #5b060d;
    color: white;
}

/* Table header background color */
tr {
    background-color: #f0e1e1;
    color: #000;
}

/* Alternate row colors */
tr:nth-child(even) {
    background-color: #e9e9e9;
    color: #000;
}

/* Button Style */
.buttonsmall {
    display: inline-block;
    width: 60px; /* Fixed width */
    background-color: #5b060d; /* Matches the modal header background */
    color: #fff; /* White text */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    border: none; /* Remove default border */
    padding: 4px 8px; /* Padding for a bigger button */
    font-size: 16px; /* Font size */
    border-radius: 8px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
    box-shadow: 0 0 0 2px #dcdcdc; /* Add a subtle shadow on focus */
}

.buttonsmall:hover {
    background-color: #790810; /* Slightly darker shade on hover */
}

.buttonsmall:focus {
    outline: none; /* Remove focus outline */
    box-shadow: 0 0 0 2px #dcdcdc; /* Add a subtle shadow on focus */
}

/* Responsive styling */
@media screen and (max-width: 600px) {
    table {
        font-size: 14px;
    }
    th, td {
        padding: 8px;
    }
}