* {
    box-sizing: border-box;
}

/* Center the main heading and tagline */
main h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1em;
    color: #555;
    text-align: center;
    margin-top: 0;
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

/* Main Box Container */
.box-container-old {
    display: grid;
    gap: 1px;
    padding: 5px;
}

.box-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px;
    padding: 5px;
}

.box > p {
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .box-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .box-container {
        grid-template-columns: 1fr;
    }
}

/* Individual Box Styling */
.box {
    position: relative;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
	margin: 5px 0 10px;
    width: 100% !important;
}

.box p {
    font-size: 1em;
    margin: 5px 0 10px;
}

.inner-box p {
	font-size: 1em;
    margin: 5px 0 10px;
}

.rent-info p {
	font-size: 0.9em;
    margin: 10px 5px 5px 5px;
}

/* Style for the .box-content to arrange 4 inner boxes */
.box-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create 2 columns */
    gap: 5px; /* Space between the boxes */
    padding: 10px;
}

.inner-box {
	border: 1px solid #ccc; /* Example styling */
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;  /* Set a fixed height to create square boxes */
    aspect-ratio: 1;  /* Make the height and width equal to maintain square shape */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 5px; /* Add padding inside the inner boxes */
}

.whatsapp-icon {
    left: 10px;
    color: #25D366;
    font-size: 1em;
}

.whatsapp-icon:hover {
    color: #128c7e;
}
.location-icon {
    left: 10px;
    color: #0000FF;
    font-size: 1em;
}

.location-icon:hover {
    color: #25D366;
}
.call-icon {
    left: 10px;
    color: #ff0000;
    font-size: 1em;
}

.call-icon:hover {
    color: #25D366;
}

/* Image in Box */
.box-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Rent Info */
.rent-info {
    top: 75px;
    right: 20px;
    text-align: center;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1em;
}

.discounted-price {
    display: block;
    color: #d32f2f;
    font-size: 1em;
    font-weight: bold;
}

/* Reduced size for boxes in the box-container */
.box-container .box {
    width: 60%;  /* Set desired width percentage or fixed value */
    height: auto; /* Adjust height as necessary or leave it as auto to scale accordingly */
    margin: 20px auto;  /* Center the box within the container and add some spacing */
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 10px;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .box-container .box {
        width: 95%;  /* Make the box take more space on small screens for better readability */
        padding: 10px; /* Reduce padding slightly for smaller screens */
        margin: 10px auto;  /* Reduce the margin to fit better on small screens */
    }
}

/* */
.call-icon,
.location-icon,
.whatsapp-icon {
    margin-right: 15px; /* Set right margin for spacing between icons */
}

.call-icon:last-child,
.location-icon:last-child {
    margin-right: 0; /* Remove margin from the last icon */
}

.address-info {
    top: 75px;
    right: 20px;
    text-align: center;
}

.address-info p {
	font-size: 0.9em;
    margin: 10px 5px 5px 5px;
}
