/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header Styling */
header {
    background-color: darkcyan;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #007BFF;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

/* Navigation Links Styling */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1rem;
}
.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: rgb(226, 226, 2);
}

/* Account Buttons Styling */
.header-right {
    display: flex;
    align-items: center;
}

.login-btn, .signup-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #007BFF;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.login-btn:hover, .signup-btn:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Language Selector Styling */
.language-selector {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 0.5rem;
    margin-left: 1rem;
    cursor: pointer;
    font-size: 1rem;
    outline: none;
}

.language-selector option {
    color: #000;
}
#rent-dropdown-menu{
    position: absolute;
    /* display: none; */
    background-color: white;
    top: 50px;
    height: 100px;
    width:50%;
    z-index: 1;
    /* display: flex; */
    /* flex-direction: row; */
}
#rent-dropdown-menu li a{
    color: black;
}
/* #rent-dropdown:hover #rent-dropdown-menu{
    display: block;
} */

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide navigation on smaller screens */
    }
    .language-selector {
        margin-left: 0.5rem;
    }
}
/* *************************** */

/* ********************** */
/* Hero Section Styling */
.hero {
    background: url('https://example.com/hero-image.jpg') no-repeat center center/cover;
    height: 70vh; /* Full viewport height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Hero Overlay for Darker Effect */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    padding: 1rem;
}

/* Hero Text Styling */
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* CTA Button Styling */
.cta-button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.5rem 1.5rem;
    }
}

/* Featured Listings Section */
.featured-listings {
    text-align: center;
    padding: 2rem;
    background-color: #f5f5f5;
}

.featured-listings h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Carousel Styling */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carousel Track */
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* Carousel Buttons */
.carousel-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Property Card Styling */
.property-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 1rem;
    width: 300px;
    flex: none;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: scale(1.05);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-info {
    padding: 1rem;
    text-align: left;
}

.property-info h3 {
    font-size: 1.25rem;
    color: #333;
}

.property-info p {
    color: #555;
    margin: 0.25rem 0;
}

.tag {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.view-details {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.view-details:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-card {
        width: 100%;
        margin: 1rem 0;
    }
}
/* ***************************** */
/* Card Styles */
.card {
    background: linear-gradient(135deg, #E6F7FF, #E5DFFF);
    width: 300px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    cursor: pointer;
  }
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  }

  .title {
    font-size: 1.5em;
    color: #333333;
    margin: 0 0 10px 0;
  }
  .subtitle {
    font-size: 1em;
    color: #666666;
  }
  .button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FF6B6B;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .button:hover {
    background-color: #ff4c4c;
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: center;
  }
  .close-btn {
    background-color: #FF6B6B;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
  }
  /* ************************* */
  #carouselExampleInterval{
    border: 1px solid red;
  max-width: 100%;
  }
  .carousel-inner{
    width: 100%;
  }
  .carousel-item{
    border: 1px solid;
    width: 100%;
    height: 500px;
   
  }
  .carousel-item img {
   height:600px;

  }
  .carousel-item::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 510px;
    background: rgba(0, 0, 0, 0.726);
  }
  
  .hero-content{
    border: 1px solid;
  }
/* ******************************************* */
/* Popular Property Types Section */
.property-types {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: #f7f7f7;
}

.property-types h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Property Types Grid */
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    justify-items: center;
    margin-top: 2rem;
}

/* Property Type Card */
.property-type-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Property Type Image */
.property-type-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-type-card:hover .property-type-image {
    transform: scale(1.05);
}

/* Property Type Link */
.property-type-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 1rem;
}

.property-type-link h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    font-weight: bold;
    color: #007BFF;
    transition: color 0.3s ease;
}

.property-type-link h3:hover {
    color: #0056b3;
}
/* ********************************* */
/* Property Listings Section */
.property-listings {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    background-color: #f7f7f7;
}

.listings-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
}

/* Property Grid Layout */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 70%;
}

/* Property Card */
.property-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-info {
    padding: 1rem;
    text-align: center;
}

.property-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #007BFF;
}

.property-location,
.property-size {
    color: #555;
    margin: 0.5rem 0;
}

.save-btn {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.save-btn:hover {
    background-color: #e4574d;
}

.view-details-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background-color: #0056b3;
}

/* Map View Section */
.map-view {
    width: 30%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .property-listings {
        flex-direction: column;
    }

    .listings-container {
        flex-direction: column;
    }

    .map-view {
        width: 100%;
        height: 300px;
    }
}
/* **************************************************** *//* Property Detail Section */
.property-detail {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background-color: #f7f7f7;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 2rem;
    cursor: pointer;
}

/* Property Information Section */
.property-info {
    margin-bottom: 2rem;
}

.property-title {
    font-size: 2rem;
    font-weight: bold;
    color: #007BFF;
}

.property-address {
    font-size: 1.25rem;
    color: #555;
}

.property-type {
    font-size: 1.15rem;
    color: #888;
}

.cta-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3;
}

/* Property Description Section */
.property-description {
    margin-bottom: 2rem;
}

/* Amenities Section */
.property-amenities ul {
    list-style: none;
    padding: 0;
}

.property-amenities li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.property-amenities i {
    margin-right: 10px;
}

/* Map Section */
.property-map {
    margin-bottom: 2rem;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Agent Info Section */
.agent-info {
    margin-bottom: 2rem;
}

.agent-profile {
    display: flex;
    align-items: center;
}

.agent-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 1rem;
}

.agent-name {
    font-size: 1.25rem;
    font-weight: bold;
}

.agent-contact {
    font-size: 1rem;
    color: #555;
}

.agent-link {
    color: #007BFF;
    text-decoration: none;
}

/* Similar Properties Section */
.similar-properties {
    margin-bottom: 2rem;
}

.property-grid {
    display: flex;
    gap: 1.5rem;
}

.property-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.view-details-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background-color: #0056b3;
}
