/* Center the main heading and tagline */
main h1 {
    text-align: center;
    font-size: 2em;
    margin: 0 0 5px 0;
}

.tagline {
    font-size: 1em;
    color: #555;
    text-align: center;
    margin: 0 0 5px 0;   /* ✅ explicit & clean */
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 15px 15px;   /* unchanged */
}

/* Main Box Container */
.box-container {
    display: grid;
    gap: 20px;
    padding: 0 20px 20px;     /* ✅ removes TOP gap on desktop */
}

/* Desktop */
@media (min-width: 768px) {
    .box-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .box-container {
        grid-template-columns: 1fr;
        padding-top: 0;       /* already correct */
    }
}


/* Individual Box Styling */
.box {
    position: relative;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.box p {
    font-weight: bold;
    font-size: 1.2em;
    margin: 5px 0 10px;
}

.box-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    line-height: 1.8; 
}

.box-content ul li {
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 1.8; /* Adding !important ensures this rule takes precedence */
}

.box-image {
    width: 75%;
    height: auto;
    border-radius: 5px;
    margin: 0 auto 30px auto; /* Top margin 0, horizontal auto, bottom 10px */
    display: block; /* Ensure the image behaves like a block element for centering */
}

.whatsapp-icons {
    position: absolute;                 /* Position the container within the box */
    bottom: 5px;                        /* Place at the bottom of the box */
    left: 5px;                          /* Place near the left side of the box */
    display: flex;                      /* Use flexbox to arrange the icons */
    flex-direction: column;             /* Stack the items vertically */
    gap: 10px;                          /* Space between each icon to prevent overlapping */
}

.whatsapp-icon {
    color: #25D366;                     /* Set WhatsApp green color */
    font-size: 0.8em;                    /* Set the size of the icon */
    text-decoration: none;              /* Remove underline from link */
}

.whatsapp-icon:hover {
    color: #128c7e;                     /* Change color when hovered */
}

.call-icon {
    left: 10px;
    color: #ff0000;
    font-size: 0.8em;
}

.call-icon:hover {
    color: #389BEF;
}

/* */
.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 */
}


/*
.more-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #ff0000;
    font-weight: bold;
    text-decoration: none;
}

.more-button:hover {
    text-decoration: underline;
    color: #800000; /* Even darker red on active state */	
/* } */

/* Submit Button Styling */
.more-button {
    background-color: #ff0000;; /* Red color for the button */
    color: #fff; /* White text for contrast */
    padding: 5px 10px; /* Padding inside the button for comfort and better look */
    border: none; /* No border for the button */
    border-radius: 5px; /* Rounded corners for the button */
    cursor: pointer; /* Pointer cursor to indicate clickability */
    font-size: 12px; /* Comfortable font size */
    transition: background-color 0.3s ease, transform 0.2s; /* Smooth transition on hover */
	position: absolute;
    bottom: 5px;
    right: 5px;
    text-decoration: none; /* Ensure no underline */
}

/* Submit Button Hover and Active States */
.more-button:hover {
    background-color: #dc143c; /* Darker red on hover */
    transform: translateY(-3px); /* Slight upward movement for visual feedback */
}

.more-button:active {
    background-color: #800000; /* Even darker red on active state */
    transform: translateY(1px); /* Button depresses on click */
}

/* Rent Info */
.rent-info {
    position: absolute;
    top: 25px;
    right: 10px;
    text-align: right;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1em;
}

.discounted-price {
    display: block;
    color: #d32f2f;
    font-size: 1em;
}

/* Submit Button Styling */
.rent-now-button {
    background-color: #ff0000;; /* Red color for the button */
    color: #fff; /* White text for contrast */
    padding: 5px 10px; /* Padding inside the button for comfort and better look */
    border: none; /* No border for the button */
    border-radius: 5px; /* Rounded corners for the button */
    cursor: pointer; /* Pointer cursor to indicate clickability */
    font-size: 12px; /* Comfortable font size */
    transition: background-color 0.3s ease, transform 0.2s; /* Smooth transition on hover */
	position: absolute;
    bottom: 5px;
    right: 5px;
    text-decoration: none; /* Ensure no underline */
}

/* Submit Button Hover and Active States */
.rent-now-button:hover {
    background-color: #dc143c; /* Darker red on hover */
    transform: translateY(-3px); /* Slight upward movement for visual feedback */
}

.rent-now-button:active {
    background-color: #800000; /* Even darker red on active state */
    transform: translateY(1px); /* Button depresses on click */
}

/* Wrapper */
/* Wrapper */
.google-ratings{
  display: flex;
  flex-direction: column;
  align-items: center;     /* horizontal centering for column flex */
  text-align: center;
  margin: 10px auto 18px;
  width: 100%;
  gap: 10px;
}

/* Base pill */
.google-rating{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #111;
  font-size: 14px;
  font-weight: 500;        /* not bold */
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  margin: 0 auto;          /* extra safety */
  max-width: 95vw;         /* prevents overflow on mobile */
  white-space: nowrap;     /* keeps it neat on one line */
}

/* Stars */
.google-rating .stars{
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Only the score is bold */
.google-rating .score{
  font-weight: 800;
  font-size: 14px;
}

/* Lighter text */
.google-rating .out-of{
  font-weight: 500;
  color: #666;
}

.google-rating .label{
  font-weight: 500;
  color: #555;
}

.google-rating .review-count{
  font-weight: 500;
  color: #777;
  font-size: 13px;
}

/* Row of location pills (if you use it later) */
.google-rating-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

/* Overall pill */
.google-rating.overall{
  padding: 9px 16px;
}

/* Location pill */
.google-rating.small{
  padding: 7px 12px;
  font-size: 13px;
}

/* Mobile: compact */
@media (max-width: 768px){
  .google-ratings{
    gap: 8px;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .google-rating{
    padding: 7px 12px;
    font-size: 13px;
    margin-left: auto;
    margin-right: auto;
  }

  .google-rating .stars{
    font-size: 14px;
  }

  .google-rating .review-count{
    font-size: 12px;
  }

  /* Optional: hide label to keep it compact */
  .google-rating .label{
    display: inline;
  }
}
