.property-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.price { 
    font-size: 24px; 
    font-weight: bold; 
    color: #222; 
}

.tags span { 
    background: #28a745; 
    color: white; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 14px; 
    margin-right: 5px; 
}

.property-details { 
    display: flex; 
    justify-content: space-between; 
    padding: 20px 0; 
    border-top: 1px solid #ddd; 
    margin-top: 20px; 
}

.detail-box { 
    text-align: center; 
}

.detail-box span { 
    font-weight: bold; 
    display: block; 
    font-size: 18px; 
}

.property-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Allows images to wrap if needed */
    
}

/* Main image */
.main-image {
    flex: 1 1 60%; /* Flex-grow, flex-shrink, and base width 60% */
    max-width: 60%; /* Ensures the image takes up no more than 60% of the width */
}

.main-image img {
    width: 100%; /* Makes the image take full width of its container */
    height: auto; /* Maintains aspect ratio */
}

/* Small images container */
.small-images {
    display: flex;
    flex-wrap: wrap; /* Makes the images wrap into new rows if necessary */
    gap: 10px; /* Spacing between small images */
    flex: 1 1 35%; /* Flex-grow, flex-shrink, and base width 35% */
    max-width: 35%; /* Ensures no more than 35% of the width */
}

.small-images img {
    width: 48%; /* Each image will take up 48% of the small-images container */
    height: auto; /* Maintains aspect ratio */
    cursor: pointer;
}


.description-section { padding: 50px 0; text-align: center; }
.description-text { font-size: 16px; line-height: 1.6; color: #555; max-width: 800px; margin: 0 auto 15px; }
.document-download { font-size: 16px; margin-top: 10px; }
.document-download a { color: #007bff; text-decoration: none; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; margin-top: 20px; }
.detail-item { display: flex; flex-direction: column; align-items: center; }
.detail-item i { font-size: 24px; color: #333; margin-bottom: 5px; }
.detail-item span { font-size: 16px; font-weight: bold; }


.text-center { text-align: center; }
.divider { border-top: 1px solid #ddd; padding-top: 10px; display: inline-block; font-weight: bold; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 20px; }
.detail-box { text-align: center; }
.detail-box i { font-size: 24px; color: #333; margin-bottom: 5px; display: block; }
.detail-box span { font-weight: bold; display: block; }

.detail-box i {
    font-size: 30px;
    color: #555;
    transition: transform 0.3s ease, color 0.3s ease;
}

.detail-box:hover i {
    color: #007bff; /* Change to a blue shade */
    transform: scale(1.2); /* Slightly enlarge the icon */
}

.update-info {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
}

.update-info i {
    color: #007bff;
    margin-right: 5px;
}


/* General Styles */
.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin-bottom: 20px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item i {
    color: #28a745;
}

/* Floor Plans Section */
.floor-plans {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floor-plan {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.floor-plan i {
    color: #f39c12;
}

.size, .price {
    margin-left: auto;
    font-size: 14px;
    color: #333;
}

.floor-plan b {
    font-weight: bold;
}

@keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-up {
    animation: fadeUp 1s ease-in-out;
  }
  
  .contact-section {
    padding: 60px 0;
}
.contact-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}
.contact-box h5 {
    font-weight: bold;
}
.contact-box p {
    margin-bottom: 0;
}
.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.contact-form button {
    background: #4169e1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}