/* Ensure the main content stretches to push the footer to the bottom */
/* Ensure full height for the body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper grows to fill available space */
main.flex-grow-1 {
    flex-grow: 1;
}

/* Footer styling */
footer {
    flex-shrink: 0;
}



/* Teal Green Color Palette */
:root {
    --teal: #008080; /* Teal */
    --teal-light: #20b2aa; /* Light Teal */
}


/* Cards */
.border-teal {
    border-color: var(--teal) !important;
}
.text-teal {
    color: var(--teal) !important;
}
.card:hover {
    border-color: var(--teal-light) !important;
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3); /* Add teal shadow */
}

/* Buttons */
.btn {
    background-color: var(--teal);
    color: white;
}
.btn:hover {
    background-color: var(--teal-light);
    color: white;
}


/* Hero Section */
header {
    background: linear-gradient(to bottom, var(--teal-light), var(--teal));
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}
header .btn {
    background-color: white;
    color: var(--teal);
}
header .btn:hover {
    background-color: var(--teal-light);
    color: white;
}

/* Call-to-Action Section */
.bg-teal {
    background-color: var(--teal);
}
.bg-teal .btn {
    background-color: white;
    color: var(--teal);
}
.bg-teal .btn:hover {
    background-color: var(--teal-light);
    color: white;
}

/* Subscription Section */
#subscribe .form-control {
    border: 1px solid var(--teal);
}


#mapContainer {
    border: 2px solid var(--teal);
    border-radius: 10px;
}

.accordion-button {
    background-color: var(--teal-light);
    color: white;
}
.accordion-button:not(.collapsed) {
    background-color: var(--teal);
}
.accordion-body {
    background-color: #f9f9f9;
}


/* Form Styling */
form .form-control {
    border: 1px solid var(--teal-light);
    border-radius: 5px;
}
form .form-check-input {
    margin-right: 10px;
}
form .btn-primary {
    background-color: var(--teal);
    border: none;
}
form .btn-primary:hover {
    background-color: var(--teal-light);
}

/* Card Styling */
.card {
    border-radius: 10px;
    overflow: hidden;
}
.card-header {
    border-bottom: 2px solid var(--teal-light);
}
.card-footer {
    background-color: #f8f9fa;
}

/* Error Messages */
.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}



/* Input Fields */
.form-control {
    border: 1px solid var(--teal-light);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 5px rgba(0, 128, 128, 0.5);
}

/* Form Checkboxes */
.form-check-input {
    accent-color: var(--teal);
}

/* Buttons */
.btn-primary {
    background-color: var(--teal);
    border: none;
}
.btn-primary:hover {
    background-color: var(--teal-light);
}




/* message */
/* Success Messages */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Error Messages */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Close Button */
.btn-close {
    background: none;
    border: none;
    color: #000;
}


/* Style for card images to ensure uniform dimensions */
.card-img-top {
    height: 200px; /* Set a fixed height */
    width: 100%; /* Ensure the image stretches to the card width */
    object-fit: cover; /* Ensures the image fills the area while maintaining aspect ratio */
    border-radius: 5px; /* Optional: for rounded corners */
}


/* Ensure the image fills the parent container proportionally */
.img-fluid {
    width: 100%; /* Make the image fill the container's width */
    height: 100%; /* Ensure the image fills the container's height */
    object-fit: cover; /* Maintain aspect ratio and crop if needed */
    border-radius: 5px; /* Optional: Add rounded corners */
}


/* Pricing Section */
.pricing-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.2);
}

.pricing-card .card-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.pricing-card .btn {
    border-radius: 25px;
    font-weight: bold;
}

/* Teal Button */
.btn-teal {
    background-color: var(--teal);
    color: white;
}

.btn-teal:hover {
    background-color: var(--teal-light);
    color: white;
}

/* Icons */
.text-teal {
    color: var(--teal);
}

/* .text-primary {
    color: #007bff;
} */


/* Service Cards */
.service-card {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.2);
}

.icon-container {
    background-color: rgba(0, 128, 128, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto;
}

.icon-container i {
    line-height: 80px;
}

/* Card Title and Text */
.service-card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.service-card .card-text {
    font-size: 1rem;
    color: #6c757d;
}


/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

/* Listing Cards */
.listing-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Listing Image */
.listing-image {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Card Text */
.listing-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.listing-card .card-text {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.listing-card .text-muted {
    font-size: 0.85rem;
    color: #888;
}

/* Icons */
.text-teal {
    color: var(--teal);
}



/* Testimonials Section */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.avatar img {
    border: 3px solid var(--teal);
}

/* Carousel Indicators */
.carousel-indicators button {
    background-color: var(--teal);
}

.carousel-indicators .active {
    background-color: var(--teal-light);
}

/* Text Styling */
.testimonial-card p {
    font-size: 1.1rem;
    color: #555;
}

.testimonial-card small {
    font-size: 0.9rem;
    color: #777;
}



/* Land Detail Page */
.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

h2 {
    font-weight: bold;
    color: #333;
}

p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: var(--teal) !important;
}

/* Buttons */
.btn-primary {
    border-radius: 25px;
    font-weight: bold;
}

/* Alert */
.alert {
    border-radius: 8px;
}



/* Land Listings Page */
.listing-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Listing Image */
.listing-image {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Pagination */
.pagination .page-link {
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--teal);
}

.pagination .page-link:hover {
    background-color: var(--teal-light);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--teal);
    color: white;
    border: none;
}

/* Typography */
.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

.text-primary {
    color: var(--teal) !important;
}



/* Navbar */
.navbar {
    background-color: white;
    border-bottom: 1px solid #ddd;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--teal);
}

.navbar-brand:hover {
    color: var(--teal-light);
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: teal;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--teal);
    text-decoration: none;
}

.navbar-nav .btn-outline-primary {
    font-size: 0.9rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
}

.navbar-nav .btn-outline-primary:hover {
    background-color: var(--teal);
    color: white;
    border-color: var(--teal);
}

/* Sticky Navbar */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



/* Hero Section */
#hero {
    background: linear-gradient(to bottom, var(--teal-light), var(--teal));
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}



#hero h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
}

#hero .text-teal {
    color: #20b2aa; /* Adjust teal for contrast */
}

#hero .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Search Form */
.search-form .input-group {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .form-control {
    border: 2px solid var(--teal-light);
    font-size: 1rem;
    padding: 0.75rem;
}

.search-form .form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 5px rgba(32, 178, 170, 0.5);
}

.search-form .btn {
    background-color: var(--teal);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    padding: 0.75rem 1.5rem;
}

.search-form .btn:hover {
    background-color: var(--teal-light);
    color: white;
}


/* Search Results Page */
.listing-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Listing Image */
.listing-image {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Pagination */
.pagination .page-link {
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--teal);
}

.pagination .page-link:hover {
    background-color: var(--teal-light);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--teal);
    color: white;
    border: none;
}

/* Typography */
.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

.text-primary {
    color: var(--teal) !important;
}


/* FAQ Section */
#faq h2 {
    font-weight: bold;
    /* color: var(--teal); */
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #f9f9f9;
    color: #333;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background-color: var(--teal-light);
    color: white;
}

.accordion-button i {
    font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--teal-light);
}

.accordion-body {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}



.subscription-card {
    border-radius: 10px;
    overflow: hidden;
}

.subscription-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

.subscription-card ul {
    font-size: 0.9rem;
    color: #555;
}

.modal-title {
    color: var(--teal);
}
