
/* General Styles */
body, html {
    margin: 0px 80px 0px 80px;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    box-sizing: border-box;
    background-color: #fff;
}

/* Base styles for desktop */
/* Base styles for desktop */
/* nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    padding: 0;
}

.logo {
    width: 50px;
    height: 40px;
    margin-left: 5px;
}

nav h1 {
    font-family: "Fira Sans", sans-serif;
    color: #2165c3;
    font-size: 30px;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

#nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

#nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
    font-family: "Poppins";
    padding: 5px 10px;
    transition: color 0.3s;
}

#nav-links a:hover {
    color: #0b76c3;
}

.nav-button {
    display: flex;
    gap: 20px;
    margin-right: 10px;
}

.nav-signin {
    color: white;
    background-color: #2162bc;
    border-radius: 10px;
    padding: 10px 30px;
    text-decoration: none;
}

.nav-signin:hover {
    background-color: #327ac7;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* User info sliding animation */
#user-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px; /* Adjust according to your layout */
    right: 10px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transform: translateY(-20px);
}

#user-info.active {
    display: flex;
    transform: translateY(0);
}

/* Hide user icon when not logged in */
#user-icon {
    font-size: 30px;
    color: #2165c3;
    margin-left: 10px;
}


/* Landing Page Styles */
/* General Styling */


.landing-page {
    font-family: "Poppins", sans-serif;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.intro {
    max-width: 50%;
}

.intro h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
}

.intro .text {
    font-family: "Moon Dance";
    color: #007BFF;
    font-size: 64px;
}

.intro p {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    margin-bottom: 30px;
    color: #777;
}

.divider {
    border: none;
    border-top: 2px solid #007BFF;
    width: 100%;
    margin: 30px 0;
}


.divider1 {
    border: none;
    border-top: 1px solid #968787;
    width: 90%;
    margin: 10px 0;
}

.property-options {
    display: flex;
    justify-content: center;
    
    gap: 20px;
    margin-bottom: 10px;
}

.property-option {
    font-size: 20px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.property-option.selected {
    font-size: 20px;
    color: #007BFF;
}

.property-option:not(.selected) {
    opacity: 0.6;
}

.property-option:hover {
    opacity: 1;
}

/* JavaScript will handle the click event to select the options */
.property-options h3 {
    cursor: pointer;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

.search-field {
    flex: 1;
    min-width: 150px;
}

.search-field label {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 5px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

.search-field select:hover,
.search-field input:hover {
    border-color: #007BFF;
}

.separator {
    font-size: 24px;
    color: #ddd;
}

.search-button {
    padding: 20px;
    font-size: 16px;
    border-radius: 50%;
    border: none;
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #0056b3;
}

/* Image Section */
.intro-img {
    position: relative;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.intro-img p {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}

.cta-button {
    position: absolute;
    bottom: 40px;
    right: 50px;
    padding: 10px 30px;
    background-color: #ffffff;
    color: #007BFF;
    border-radius: 20px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #007BFF;
}

.cta-button:hover {
    background-color: #007BFF;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-page {
        flex-direction: column;
        align-items: center;
    }

    .intro {
        max-width: 80%;
        text-align: center;
    }

    .intro h1 {
        font-size: 36px;
    }

    .intro h3 {
        font-size: 20px;
    }

    .search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .search-field {
        width: 100%;
    }

    .separator {
        display: none;
    }

    .intro-img {
        width: 80%;
        margin-top: 30px;
    }

    .main-img {
        border-radius: 20px;
    }
}
@media (max-width: 480px) {

    body, html{
        margin: 0px;
    }
    .landing-page {
        flex-direction: column;
        align-items: center;
    }

    .intro {
        max-width: 80%;
        text-align: center;
    }

    .intro h1 {
        font-size: 36px;
    }

    .intro h3 {
        font-size: 20px;
    }

    .search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .search-field {
        width: 100%;
    }

    .separator {
        display: none;
    }

    .intro-img {
        width: 80%;
        margin-top: 30px;
    }
    .main-img {
        border-radius: 20px;
    }
}

.text-center {
    margin-bottom: 100px;
}

.text-center p {
    text-align: center;
    color: black;
    font-size: 48px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px; /* Add some space between the text and the image */
}

.text-center span {
    color: black;
    font-size: 64px;
    font-family: 'Moon Dance', cursive;
}

.vector-image {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: auto;
    position: relative; 
    top: -30px; 
    left: -70px;
}

.vector-image2 {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: auto;
    position: relative; 
    top: -30px; 
    left: -200px;
}

.vector-image3 {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: auto;
    position: relative; 
    top: -40px; 
    left: -40px;
}

/* Property Gallery Styles */
.property-table {
    margin: 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns by default */
    gap: 10px;
    padding-bottom: 50px;
    background-color: #ffffff;
}

/* Columns */
.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px; 
    transition: transform 0.3s ease;
}

.property-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.property-item h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 20px;
    z-index: 2;
}

.column.column-1,
.column.column-3,
.column.column-5 {
    margin-top: 150px;
}

.property-item .category-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    justify-content: center;
    opacity: 0;
    transition: 0.6s;
    border-radius: 15px;
}

.property-item .category-info p {
    color: white;
    text-align: center;
    font-size: 50px;
}

.property-item .explore-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.property-item .explore-link i {
    margin-left: 5px;
    font-size: 22px;
}

.property-item:hover img {
    opacity: 0.7; 
}

.property-item:hover .category-info {
    opacity: 1; 
}

.property-item:hover h3 {
    opacity: 1; 
}

.property-item:hover .explore-link {
    opacity: 1;
}

.button-container img {
    margin-left: 70px;
}

.view-more-button {
    font-family: "Poppins", sans-serif;
    border: #007BFF 2px solid;
    background-color: transparent;
    font-size: medium;
    border-radius: 25px;
    padding: 10px 55px;   
    margin-left: 30px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
.property-table {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* gap: 20px; */
    /* padding: 20px; */
    background-color: #ffffff;
  }
  
  /* Columns */
  .column {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
  }
  
  .property-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
  }
  
  .property-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
  }
  
  .property-item h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size:15px;
    z-index: 2;
  }
  .column.column-1 {
    margin-top: 50px;
  }
  .column.column-3 {
    margin-top: 50px;
  }
  .column.column-5 {
    margin-top: 50px;
  }
  
  .property-item .category-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    justify-content: center;
    opacity: 0;
    transition: 0.6s;
    border-radius: 15px;
  }
  
  .property-item .category-info p {
    color: white;
    text-align: center;
    font-size: 50px;
  }
  
  .property-item .explore-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
  }
  
  .property-item .explore-link i {
    margin-left: 5px;
    font-size: 22px;
  }
  
  .property-item:hover img {
    opacity: 0.7;
  }
  
  .property-item:hover .category-info {
    opacity: 1; 
  }
  
  .property-item:hover h3 {
    opacity: 1; 
  }
  
  .property-item:hover .explore-link {
    opacity: 1;
  }
  .button-container{
    margin-top:30px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .view-more-button {
    border: #007bff 2px solid;
    background-color: transparent;
    font-size: medium;
    border-radius: 15px;
    padding: 10px;
    margin: 5px;
  }
  .seal img{
    display:none;
  }
}


@media (max-width: 768px) {
    .property-table {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        /* padding: 10px; */
        background-color: #ffffff;
      }
      
      /* Columns */
      .column {
        display: flex;
        flex-direction: column;
        gap: 15px;
      }
      
      .property-item {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        transition: transform 0.3s ease;
      }
      
      .property-item img {
        width: 100%;
        height: auto;
        display: block;
        transition: opacity 0.3s ease;
      }
      
      .property-item h3 {
        position: absolute;
        top: 10px;
        left: 10px;
        color: white;
        font-size: 10px;
        z-index: 2;
      }
      .column.column-1 {
        margin-top: 70px;
      }
      .column.column-3 {
        margin-top: 70px;
      }
      .column.column-5 {
        margin-top: 70px;
      }
      
      .property-item .category-info {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
        justify-content: center;
        opacity: 0;
        transition: 0.6s;
        border-radius: 15px;
      }
      
      .property-item .category-info p {
        color: white;
        text-align: center;
        font-size: 50px;
      }
      .property-item .category-info h1{
        font-size: 10px;
      }
      .property-item .explore-link {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: white;
        text-decoration: none;
        font-size: 10px;
        display: flex;
        align-items: center;
      }
      
      .property-item .explore-link i {
        margin-left: 5px;
        font-size: 10px;
      }
      
      .property-item:hover img {
        opacity: 0.7;
      }
      
      .property-item:hover .category-info {
        opacity: 1; 
      }
      
      .property-item:hover h3 {
        opacity: 1; 
      }
      
      .property-item:hover .explore-link {
        opacity: 1;
      }
      .log{
        width:20px;
        height:20px;
        border-radius: 50%;
      }
      .button-container{
        margin-top:10px;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
      .view-more-button {
        border: #007bff 1px solid;
        background-color: transparent;
        font-size:10px;
        border-radius: 15px;
        padding: 10px;
        margin: 5px;
      }
      .hrline{
        margin-top: 40px;
      }
    }
    @media (max-width:480px){
        .text-center p {
            font-size: 22px;
        }
        
        .text-center span {
            font-size: 22px;
        }
        .property-table {
            grid-template-columns: 0.9fr 0.9fr 0.5fr 0.9fr 0.9fr; 
            gap: 2px;
          }
          .column.column-1 {
            margin-top: 70px;
          }
          .column.column-3 {
            margin-top: 70px;
          }
          .column.column-5 {
            margin-top: 70px;
          }
        .column.column-3{
            margin-top:0px;
            width:80px;
        }
    
          .property-item h3 {
            font-size: 7px;
            margin-top: auto;
          }
          .property-item img {
            width: 100%;
            height: auto;
            display: block;
            transition: opacity 0.3s ease;
          }
          .property-item .category-info p {
            font-size: 12px;
          }
        
          .property-item .category-info {
            display: flex;
            flex-direction: column;
          }
        
          .property-item .explore-link {
            font-size: 8px;
            padding-top:20px;
            margin-bottom: auto;
          }
        
          .property-item .explore-link i {
            font-size: 8px;
          }
          .button-container{
            margin-top:10px;
            display:flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
          }
          .view-more-button {
            border: #007bff 1px solid;
            background-color: transparent;
            font-size:10px;
            border-radius: 15px;
            padding:3px;
            margin: 5px;
          }
        }
/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-center {
        margin-bottom: 50px;
    }
    
    .text-center p {
        font-size: 32px;
    }
    
    .text-center span {
        font-size: 32px;
    }

    .vector-image {
        width: 60px;
        top: -20px;
        left: -50px;
    }

    .property-table {
        margin: 20px;
        gap: 10px;
    }

    .column {
        gap: 5px;
    }
    
    .property-item h3 {
        font-size: 8px;
        top: 2px;
        left: 5px;
    }

    .property-item .category-info p {
        font-size: 10px;
    }

    .property-item .explore-link {
        font-size: 8px;
        bottom: 10px;
        left: 10px;
    }

    .property-item .explore-link i {
        font-size: 8px;
    }

    .column.column-1 {
        margin-top: 70px;
    }
    
    .column.column-3 {
        margin-top: 20px;
        text-align: center;
    }
    
    .column.column-5 {
        margin-top: 80px;
    }


    .vector-image2 {
    width: 50px;
    height: auto;
    position: relative; 
    top: -10px; 
    left: -150px;
    }
    .vector-image3 {
    width: 50px;
    height: auto;
    position: relative; 
    top: -20px; 
    left: -40px;
    }
}


/* section3*/
.sec3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: auto; /* Ensuring full width */
    overflow: hidden; /* Hide overflow to create a sliding effect */
}

/* .property-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
} */

.property-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    min-width: 100%; /* Each slide will take the full width */
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width */
}

.property-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; /* Left (details), center (image), right (description) */
    gap: 20px;
    align-items: center;
    width: 100%;
}

/* Left column for property details */
.left-details {
    height: 100%;
    width: auto;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    text-align: left;
}

.left-details p {
    color: #000000;
    margin: 0;
}

.explore-btn {
    background-color: #007bff;
    color: #fff;
    padding: 15px 10px;
    width: 150px;
    border: none;
    border-radius: 30px;
    font-weight: 750;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

/* Center column for the main image */
.center-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-image {
    width: 450px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid black;
}

/* Right column for title and description */
.right-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin-left: 10px;
}

.right-info p{
    margin-top: 0px;
}

.property-title {
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    color: #000;
}

.property-description {
    color: #8b8888;
    font-size: 16px;
}

/* Slider controls */
.slider-controls {
    margin-top: -90px;
    position: absolute;
    width: 6%;
    margin-left:64%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Prevent controls from affecting clicks on the content */
  
}

.control-left, .control-right {
    pointer-events: all; /* Enable clickability */
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    user-select: none;
}

.control-left:hover, .control-right:hover {
    background-color: #0056b3;
}

.img_left img{
    width:  350px;
    height: 300px;
    margin-left: 0px;
    margin-bottom: 30px;
    border-radius: 8%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

  /* resposive */
  @media (max-width: 1200px){
    .sec3 p {
        font-size: 15px; 
    }

    .slider-controls {
      display: inline-end;
        margin-right:10px;
    }

    .property-slider {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .right-info p{
        margin-top: 0px;
        font-size: 10px;
    }
    .right-info h2{
        margin-top: 0px;
        font-size: 20px;
    }
    .left-details p{
        font-size: 10px;
    }
    .property-info1 {
        padding-left: 150px;
        margin: 80px 30px;
    }
    .img_left img{
        width:  150px;
        height: 150px;
        margin-left: 0px;
        margin-bottom: 30px;
        border-radius: 8%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .property-info1 p {
        width: 150px;
        font-size: 10px;
        text-align: center;
        margin-left: 75px;
    }
    .property-info1 h1{
      text-align: left;
      font-size: 20px;
    }
    #main-image {
        width: 400px;
        height: 450px;
    }

    .small-image {
        width: 100px;
        height: 10px;
    }
    #round-image {
      border-radius: 50%;
      width: 40px;
      height: 40px;
      left: 20px;
      bottom: 50px;
      position: absolute;
    }
    .row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-top: 20px;
    }
    
    .row p {
      font-size: 14px;
      position: relative;
      padding-right: 20px;
    }
    
    .row p::after {
      content: ">";
      font-size: 14px;
      position: absolute;
      right: 0;
      top: 0;
      color: #000;
    }
}

@media (max-width: 768px)  {
    .sec3 p {
        font-size: 19px; 
    }

    .slider-controls {
      display: inline-end;
        margin-right:10px;
        margin-top:10px;
    }

    .property-slider {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .right-info p{
        margin-top: 0px;
        font-size: 10px;
    }
    .right-info h2{
        margin-top: 0px;
        font-size: 20px;
    }
    .left-details p{
        font-size: 10px;
    }
    .property-info1 {
        padding-left: 150px;
        margin: 80px 30px;
    }
    .img_left img{
        width:  150px;
        height: 150px;
        margin-left: 0px;
        margin-bottom: 30px;
        border-radius: 8%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .property-info1 p {
        width: 150px;
        font-size: 10px;
        text-align: center;
        margin-left: 75px;
    }
    .property-info1 h1{
      text-align: left;
      font-size: 20px;
    }
    #main-image {
        width: 400px;
        height: 450px;
    }

    .small-image {
        width: 100px;
        height: 10px;
    }
    #round-image {
      border-radius: 50%;
      width: 40px;
      height: 40px;
      left: 20px;
      bottom: 50px;
      position: absolute;
    }
    .row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-top: 20px;
    }
    
    .row p {
      font-size: 14px;
      position: relative;
      padding-right: 20px;
    }
    
    .row p::after {
      content: ">";
      font-size: 14px;
      position: absolute;
      right: 0;
      top: 0;
      color: #000;
    }
}


@media (max-width: 480px) and (min-width: 360px){
    
    .sec3 p {
        font-size: 12px; 
    }

    .slider-controls {
      display: inline-end;
        margin-right:10px;
        margin-top:-50px;
        gap: 10px;
    }

    .control-left, .control-right{
        height: 10px;
        font-size: 10px;
        border-radius: 50%;
        padding: 6px;
    }

    .property-slider {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .right-info p{
        margin-top: 0px;
        font-size: 8px;
    }
    .right-info h2{
        margin-top: 0px;
        font-size: 8px;
    }
    #property-price{
        font-size: 12px;
    }
    .left-details p{
        font-size:5px;
    }
    .left-details img{
        width:20px;
        height:10px;
        border-radius: 50%;
    }
    .property-info1 {
        padding-left: 150px;
        margin: 0px 30px;
    }
    .img_left img{
        width:  60px;
        height: 60px;
        margin-left: 0px;
        margin-bottom:0px;
        border-radius: 8%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .explore-btn {
        background-color: #007bff;
        color: #fff;
        margin-top: 0px;
        padding: 8px 10px;
        width:100px;
        border: none;
        border-radius: 30px;
        font-weight: 550;
        cursor: pointer;
        font-size: 8px;
    }
    .property-info1 p {
        width: 100px;
        font-size: 10px;
        text-align: center;
        margin-left: 75px;
    }
    .property-info1 h1{
      text-align: left;
      font-size: 20px;
    }
    #main-image {
        width: 150px;
        height: 250px;
    }
    .row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-top: 20px;
    }
    
    .row p {
      font-size: 14px;
      position: relative;
      padding-right: 20px;
    }
    
    .row p::after {
      content: ">";
      font-size: 14px;
      position: absolute;
      right: 0;
      top: 0;
      color: #000;
    }
}

/* -------------------------------- */

.sec4 {
    padding: 20px;
}

.p1 {
    text-align: center;
    font-size: 40px;
    font-weight: bolder;
    margin-bottom: 40px;
}

.categories-container {
    width: 100%;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.category-card {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.category-card img {
    width: 300px;
    height: 450px;
    border-radius: 10px;
}

.category-card h3{
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 20px;
    z-index: 2;
}

.category {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    border-radius: 10px;
    transition: opacity 0.6s;
    text-align: center;
}

.category-card:hover .category {
    opacity: 1;
}

.category h3 {
    font-size: 24px;
    color: white;
    margin: 10px 0 5px;
}

.category p {
    color: #ffffff;
    font-size: 18px;
    margin: 0;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    margin-top: 10px;
    font-size: 16px;
    text-decoration: none;
}

.explore-link i {
    margin-left: 5px;
    font-size: 20px;
}
/* Responsive Layout */
@media (max-width: 1200px) {
    .p1 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .categories-container {
        width:70%;
        gap:100px;
        margin-top: 100px;
        margin-left: 100px;
        display: flex;
        justify-content:center;
        align-items: center;
    }

    .category-card {
        width: 180px;
        height: 250px;

    }

    .category-card img {
        height: 250px;
    }

    .category h3 {
        font-size: 20px;
    }

    .category p {
        font-size: 16px;
    }

    .explore-link {
        font-size: 14px;
    }

    .explore-link i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .p1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .categories-container {
        gap: 50px;
        margin-top: 60px;
    }

    .category-card {
        width: 160px;
        height: 200px;

    }

    .category-card img {
        height: 200px;
    }

    .category h3 {
        font-size: 18px;
    }

    .category p {
        font-size: 14px;
    }

    .explore-link {
        font-size: 12px;
    }

    .explore-link i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sec4 {
        padding: 15px;
    }

    .p1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .categories-container {
        gap: 20px;
        margin-top: 40px;
        flex-direction: column;
        align-items: center;
        margin:auto;
    }

    .category-card {
        width: 80%;
        height: 300px;

    }

    .category-card img {
        height: 300px;
    }

    .category h3 {
        font-size: 16px;
    }

    .category p {
        font-size: 12px;
    }

    .explore-link {
        font-size: 10px;
    }

    .explore-link i {
        font-size: 14px;
    }
}

/* dot section */

.main-container {
    text-align: center;
    padding: 30px 50px 30px 50px;
}

.main-container h1 {
    font-family: "Lato", sans-serif;
    font-size: 40px;
    color:#327ac7;
    font-weight: normal;
    margin-bottom: 30px;
}

.main-container h1 span {
    font-family: "Moon Dance", cursive;
    text-decoration: underline;
    color: #000;
}

/* Slider Section */
.slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.property-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    animation: none;
}

.property-slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: opacity 1s;
}

.property-image {
    flex-grow: 1;
    position: relative;
    margin-right: 20px;
}

.property-image img {
    width: 60%;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.overlay-text {
    position: absolute;
    bottom: 45%;
    right: 38%;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
}

.property-info {
    position:absolute;
    margin-left: 600px;
    background-color: #fff;
    padding: 20px;
    border: #007BFF 2px solid;
    border-radius: 15px;
    width: 400px;
    height: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

/* Dots Navigation */
.dots-navigation {
    margin-top: 20px;
}

.dots-navigation .dot {
    height: 12px;
    width: 12px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dots-navigation .dot.active {
    background-color: #007bff;
}

/* Animations */

@keyframes easeInOut {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes easeInout {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.property-slide:nth-child(1).active {
    animation: easeInout 1s forwards;
}

.property-slide:nth-child(2).active,
.property-slide:nth-child(3).active {
    animation: easeInOut 1s forwards;
}

.property-slide:nth-child(4).active {
    animation: easeInout 1s forwards;
}
/* responsive */
@media (max-width: 1200px) {
    .main-container {
        padding: 10px;
    }

    .main-container h1 {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .property-image img {
        width: 80%;
        height: 400px;
    }

    .overlay-text {
        font-size: 16px;
        padding: 10px 16px;
        right:45%;
    }

    .property-info {
        margin-left:400px;
        width: 400px;
        height: 250px;
        padding: 10px;
        font-size:20px;
    }

    .dots-navigation .dot {
        height: 8px;
        width: 8px;
    }
}
    /* .main-container {
        padding: 40px;
    }

    .main-container h1 {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .property-image img {
        width: 30%;
        height: 450px;
    }

    .overlay-text {
        font-size: 16px;
        padding: 8px 18px;
        bottom: 40%;
        right: 35%;
    }

    .property-info {
        margin-left: 100px;
        width: 350px;
        height: 180px;
        padding: 15px;
    }

    .dots-navigation .dot {
        height: 10px;
        width: 10px;
    } */

@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }

    .main-container h1 {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .property-image img {
        width: 80%;
        height: 400px;
    }

    .overlay-text {
        font-size: 10px;
        padding: 6px 16px;
        right:35%;
    }

    .property-info {
        margin-left:400px;
        width: 250px;
        height: 200px;
        padding: 10px;
    }

    .dots-navigation .dot {
        height: 8px;
        width: 8px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 20px;
    }

    .main-container h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .property-image img {
        width: 80%;
        height: 300px;
    }

    .overlay-text {
        font-size: 8px;
        padding: 4px 12px;
        bottom: 40%;
        right: 45%;
    }

    .property-info {
        margin-left: 180px;
        width: 220px;
        height: 140px;
        padding: 8px;
    }
    .property-info p{
       font-size: small;
    }

    .dots-navigation .dot {
        height: 6px;
        width: 6px;
    }
}

/* footer */
.footer-section {
    margin-top: 40px;
    background-color: #ffffff;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-logo img {
    width: 100px;
}

.footer-links {
    display: flex;
    gap: 32px; 
}

.footer-links div {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    margin-bottom: 16px; 
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px; 
}

.footer-links ul li a {
    text-decoration: none;
    color: #000;
}

.footer-social a {
    margin: 0 8px;
    font-size: 24px; 
    color: #007BFF;
    text-decoration: none;
}

.footer-bottom {
    width: 100%;
    background-color: #2c2b2b;
    text-align: center;
    margin-top: 32px; 
    color: #ffffff;
    margin-bottom: 0px;
}

.footer-bottom p {
    margin: 0;
    font-size: 16px; 
}
/* @media (max-width: 768px) {
    .footer-logo img {
        width: 80px;
    }

    .footer-links {
        gap: 16px; 
    }

    .footer-links div {
        margin-bottom: 8px; 
    }

    .footer-social a {
        font-size: 20px; 
    }
} */
/* Responsive */
@media (max-width: 1200px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo img {
        width: 80px;
        margin-bottom: 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-links h4 {
        font-size: 18px;
    }

    .footer-links ul li {
        margin-bottom: 6px;
    }

    .footer-social a {
        font-size: 20px;
        margin: 0 6px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo img {
        width: 60px;
        margin-bottom: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-links ul li {
        margin-bottom: 5px;
    }

    .footer-social a {
        font-size: 18px;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center; 
    }

    .footer-logo img {
        width: 50px; 
        margin-bottom: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-links ul li {
        margin-bottom: 4px;
    }

    .footer-social a {
        font-size: 16px;
    }

    .footer-bottom {
        padding: 10px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* .modal-content {
    background-color:white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid transparent;
    width: 30%;
} */

.close {
    color: #e50d0d;
    float: right;
    font-size: 38px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
 
.agents-section {
    padding: 20px;
    margin: 10px;
    height: max-content;
    background-color: white;
 
}
 
.header h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
}
 
.card-carousel {
    width: 100%;
    display: flex;
    overflow: hidden;
    justify-content: center;
  }
  
  .card {
    width: 300px;
    height: 350px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: none;
  }
  
  .carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 680px;
    overflow: hidden;
    position: relative;
    transition: none;
  }
  
  .card img {
    width: 250px;
    height: 300px;
    border-radius: 10%;
    object-fit: cover;
  }
  
  .card h3 {
    margin: 10px 0;
  }
  
 
  
  .active-card {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
  }
 
 
 
  .slider-section {
    text-align: center;
    padding: 20px;
}
 
h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
 
 
 
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 150px auto;
    
}
 
.slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
 
.slide {
    min-width: 33.3333%;
    box-sizing: border-box;
    padding: 20px;
    padding-top: 100px;
}
 
.agent-card {
    border: 2px solid rgb(0, 157, 255);
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    margin: auto;
    width: 300px;
    height: 300px;
}
 
.agent-image {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 250px;
    overflow: hidden;
}
 
.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.agent-info {
    margin-top: 200px;
    padding-top: 10px;
}
 
.details {
    margin-top: 40px;
    padding-top: 10px;
}
 
hr {
    border: solid 1px rgb(0, 157, 255);
}
 
.slider-btn {
    position: absolute;
    top: 50%; /* Center the button vertically */
    transform: translateY(-50%);
    background-color: white;
    border: 2px solid rgb(0, 157, 255);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    color: rgb(0, 157, 255);
    z-index: 10; /* Ensure the button is on top of other elements */
    display: flex;
    align-items: center;
    justify-content: center;
    
}
 
.left-btn {
    left: 5px; /* Position the left button */
}
 
.right-btn {
    right: 5px; /* Position the right button */
}
 
.slider-btn:hover {
    background-color: rgb(0, 157, 255);
    color: white;
}
 
@media (max-width: 768px) {
    .slider-btn {
        padding: 10px 15px;
        font-size: 16px;
    }
}
 
@media (max-width: 480px) {
    .slider-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
 
 
/* Responsive */
@media (max-width: 1200px) {
    .slide {
        min-width: 50%; /* Show two cards at a time on medium screens */
    }
 
    .agent-card {
        width: 280px;
        height: 300px;
    }
 
    .agent-image {
        width: 200px;
        height: 230px;
    }
}
 
@media (max-width: 768px) {
    .slide {
        min-width: 50%; /* Show one card at a time on small screens */
    }
 
    .agent-card {
        width: 250px;
        height: 300px;
    }
 
    .agent-image {
        width: 180px;
        height: 210px;
    }
 
    h1 {
        font-size: 2.5rem;
    }
}
 
@media (max-width: 480px) {
    .slide {
        min-width: 100%; /* One slide at a time */
    }
 
    .agent-card {
        width: 250px;
        height: 300px;
    }
 
    .agent-image {
        width: 160px;
        height: 190px;
    }
 
    
 
    h1 {
        font-size: 2rem;
    }
}
 
/* 
trending property of month */

.container-5 {
    display: flex;
    background: linear-gradient(135deg, #ffffff 50%, #e6f0ff 50%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin-left: 100px;
}

.deal-section {
    flex: 1;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deal-section h1 {
    font-size: 48px;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.deal-section h1 span {
    color: #0073FF;
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: #0073FF;
}

.deal-section p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-details {
    background:#0073FF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-details:hover {
    background: #0073FF;
}

.property-card-5 {
    flex: 1;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.label-for-sale {
    background-color: #32c282;
    color: white;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.property-info-5 h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 8px;
    font-weight: bold;
}

.property-info-5 p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.price {
    font-size: 28px;
    color: #ff5a3c;
    margin-bottom: 20px;
    font-weight: bold;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.details div {
    text-align: center;
}

.details strong {
    font-size: 20px;
    color: #333;
}

.check-details a {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.check-details a:hover {
    background-color: #007bff;
    color: white;
}

/* For screens up to 1200px */
@media (max-width: 1200px) {
    .container-5 {
        padding: 30px;
        margin-left: 50px;
    }

    .deal-section h1 {
        font-size: 42px;
    }

    .deal-section p {
        font-size: 16px;
    }

    .property-card-5 {
        padding: 25px;
    }

    .price {
        font-size: 24px;
    }

    .details strong {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container-5 {
        flex-direction: column;
        padding: 20px;
        margin-left: 20px;
        max-width: 100%;
    }

    .deal-section {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .deal-section h1 {
        font-size: 36px;
        text-align: center;
    }

    .deal-section p {
        font-size: 16px;
        text-align: center;
    }

    .property-card-5 {
        padding: 20px;
    }

    .price {
        font-size: 22px;
    }

    .details strong {
        font-size: 16px;
    }

    .check-details a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container-5 {
        padding: 15px;
        margin-left: 0;
    }

    .deal-section h1 {
        font-size: 28px;
    }

    .deal-section p {
        font-size: 14px;
    }

    .btn-details {
        padding: 10px 20px;
        font-size: 14px;
    }

    .property-card-5 {
        padding: 15px;
    }

    .price {
        font-size: 20px;
    }

    .details strong {
        font-size: 14px;
    }

    .check-details a {
        padding: 8px 12px;
        font-size: 12px;
    }
}
