
.header-top a.btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}
/* Slider height control */
.carousel-item img.d-block.w-100,
.carousel-item video.d-block.w-100 {
    height: 600px; /* Adjust as needed */
    object-fit: cover; /* Crop to fit */
}

/* Center caption vertically */
.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Modern glassmorphic style */
.glass-caption {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 25px 35px;
    color: white;
    text-align: center;
    max-width: 650px;
    margin: auto;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
      opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
/* Welcome section override for .glass-caption */
.welcome-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}
.welcomesection-bg{
    background-color:rgb(1, 38, 35);
     backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.search-bg {
   background-color: #bce1e6;
}
.nav-bg{
    background-color:rgb(165, 41, 3);
}
.glass-caption.welcome {
    padding: 30px;
    max-width: 100%;
}
.glass-caption.show-caption {
    opacity: 1;
    transform: translateY(0);
}
.psearch-btn{
    background-color:#08665b;
}

/* Caption heading */
.glass-caption h2 {
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    font-family: sans-serif;
}

/* Caption text */
.glass-caption p {
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    font-family: sans-serif;
}
.fixed-card-img {
    height: 200px;          /* adjust to fit 3-column nicely */
    object-fit: cover;
    object-position: center;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-text.description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    color: #555;
    min-height: 35px;
}
.object-fit-cover {
  object-fit: cover;
}

.card-title {
  font-size: 1.2rem;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-text.small {
  line-height: 1.4;
}
/* Only affects Featured Properties */
.featured-properties .fixed-card-img {
  height: 200px;       /* Landscape height */
  object-fit: cover;   /* Crop nicely */
  width: 100%;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.featured-properties .card-body {
  display: flex;
  flex-direction: column;
}

.featured-properties .card-title {
  font-size: 1.1rem;
  color: #004d40;
}

.featured-properties .card-text.small {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-section .ad-landscape img {
  height: 180px;
  object-fit: cover;
}

.ad-section .ad-portrait img {
  height: 300px;
  object-fit: cover;
}

.ad-section .card {
  border-radius: 10px;
  overflow: hidden;
}
/* Ads Portrait Images */
.ads-section .fixed-card-img {
    height: 200px;
    object-fit: cover;
}

/* Landscape card fix */
.ads-section .card.flex-row img {
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}



/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*search filter*/
/* Glassmorphic Search Box */
.glass-search-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tabs (Buy / Rent) */
.nav-tabs {
    border-bottom: none;
    margin-bottom: 15px;
}
.nav-tabs .nav-link {
    border: none;
    color: #555;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px 8px 0 0;
}
.nav-tabs .nav-link.active {
    background-color: #e63946;
    color: #fff !important;
}

/* Form Elements */
.form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px;
}
.form-select:focus {
    border-color: #e63946;
    box-shadow: none;
}

/* Price Range Label */
#priceRangeLabel {
    font-weight: 500;
    color: #e63946;
}

/* Price Slider */
.form-range {
    height: 6px;
    background: linear-gradient(to right, #e63946, #ff6b6b);
    border-radius: 3px;
    outline: none;
}
.form-range::-webkit-slider-thumb {
    background: #e63946;
    border: none;
}
.form-range::-moz-range-thumb {
    background: #e63946;
    border: none;
}

/* Search Button */
.btn-danger {
    background-color: #e63946;
    border: none;
    font-weight: bold;
}
.btn-danger:hover {
    background-color: #d62828;
}
/* Admin Manage Properties */
body {
    background-color: #f4f6f8;
    font-family: 'Segoe UI', sans-serif;
}

.admin-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.admin-header {
    background: #006d6d;
    color: white;
    padding: 15px;
    border-radius: 12px 12px 0 0;
}

.admin-card label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.admin-card input,
.admin-card select {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 8px 10px;
}

.admin-card input:focus,
.admin-card select:focus {
    border-color: #006d6d;
    box-shadow: 0 0 0 0.15rem rgba(0, 109, 109, 0.25);
    outline: none;
}

.btn-save {
    background: #c23a0e;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 6px;
    transition: 0.3s;
}
.btn-save:hover {
    background: #a52f0c;
}

table th {
    background: #006d6d;
    color: white;
}
/* Uniform card images */
.card-img-top {
    height: 220px;              /* fixed height for consistency */
    object-fit: cover;          /* crop without stretching */
    width: 100%;
    border-radius: 8px 8px 0 0;
}

/* Make all property cards equal height */
.card.h-100 {
    display: flex;
    flex-direction: column;
}

/* Push button to bottom */
/* 🔹 Balance card body so title stays up, button stays down */
.card-body {
    flex: 1; /* take available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* spread title & button */
}
/* Limit card descriptions to 3 lines with ellipsis */
.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 60px;        /* reserve space so heights stay equal */
}
.card-text.text-muted {
    display: -webkit-box;
    -webkit-line-clamp: 1;   /* only 1 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 🔹 Equal Image Height */
.fixed-card-img {
    height: 220px;              /* same height for all images */
    object-fit: cover;          /* crop nicely */
    object-position: center;
    width: 100%;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

/*buttons*/
.btn-outline-primary {
  color: #C82909;
  border-color: #C82909;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #C82909;
  color: #fff;
  border-color: #C82909;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item img.d-block.w-100,
    .carousel-item video.d-block.w-100 {
        height: 300px;
    }
    .glass-caption h2 {
        font-size: 1.5rem;
    }
    .glass-caption p {
        font-size: 0.95rem;
    }
}

/*TEAMS CSS*/
/* OUR TEAM SECTION */
.our-team-section {
  padding: 80px 20px;
  background: #ffffff;
}

.our-team-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.our-team-container h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.our-team-intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background: #f9fbfb;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

.team-card h3 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.team-card span {
  color: #777;
  font-size: 15px;
}


