:root {
    --background-color: #ffffff;
    --default-color: #323b3b;
    --heading-color: #163535;
    --accent-color: #2c7a7b;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}
h2{
  font-size: 24px;
}
h3{
  font-size: 20px;
}
img {
    display: inline-block;
    max-width: 100%;
  }
/*Aroundtown Property Details Info*/
/*Property Details Head*/
.ap-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  height: 100%;
  align-content: space-around;
}
.ap-info .column{
  position: relative;
  height: 100%;
}
.column span{
  color: #617896;
}
.ap-info .column::before {
    content: "";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
    position: absolute;
    right: 0;
    height: 100%;
    border-right: 1px solid var(--light-color);
}

.ap-info .column:last-child::before {
    border-right: none;
}

.location-pin{
  background: url(../images/icons/pin.svg) 25px no-repeat;
  padding-left: 25px;
  background-size: 22px;
  background-position: left 2px;
}

/*Property Details Page Gallery*/


.photos-grid-container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-gap: 0;
  align-items: start;
}
@media (max-width: 580px) {
  .photos-grid-container {
    grid-template-columns: 1fr;
  }
}
.photos-grid-container .img-box {
  border: 1px solid #ffffff;
  position: relative;
}
.photos-grid-container .img-box img {
    height: 431px;
    object-fit: cover;
}
.photos-grid-container .img-box:hover .transparent-box {
  background-color: rgba(0, 0, 0, 0.6);
}
.photos-grid-container .img-box:hover .caption {
  transform: translateY(-5px);
}
.photos-grid-container .caption {
  color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.5rem;
}
.photos-grid-container .transparent-box {
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photos-grid-container .sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 0em;
}
.photos-grid-container .sub img{
  width: 100%;
  height: 215px;
  object-fit: cover;
}
.photos-grid-container .sub:nth-child(0) {
  grid-column: 1;
  grid-row: 1;
}
.photos-grid-container .sub:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
}
.photos-grid-container .sub:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.photos-grid-container .sub:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

/* Menu Style */
.property-tabs {
  background: #f2f6fa;
  padding: 10px 0;
}
.property-tabs .nav {
  justify-content: flex-start;
  gap: 20px;
  padding: 0 20px;
}
.property-tabs .nav-link {
  font-weight: 500;
  color: #000;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
  padding: 0px;
}
.property-tabs .nav-link:hover,
.property-tabs .nav-link.active {
  color: #0d6efd;
}

.card {
    border: 1px solid #eaeef9;
}


.card-header {
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.card-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    margin-bottom: 0;
}
/*.property-details .property-overview {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  top: 100px;
}*/


.property-details .property-overview .agent-info {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
  padding: 20px;
  background: color-mix(in srgb, var(--surface-color), var(--default-color) 3%);
  border-radius: 12px;
  border-top: 3px solid var(--accent-color);
}

.property-details .property-overview .agent-info .agent-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.property-details .property-overview .agent-info .agent-details h4 {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}

.property-details .property-overview .agent-info .agent-details p {
  margin-bottom: 3px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.property-details .property-overview .agent-info .agent-details p i {
  margin-right: 5px;
  color: var(--accent-color);
}

.property-details .property-overview .agent-info .agent-details .agent-title {
  font-style: italic;
}


.property-details .property-overview .contact-form {
  margin-bottom: 30px;
}

.property-details .property-overview .contact-form h4 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.property-details .property-overview .contact-form .form-control {
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--default-color);
  background-color: var(--surface-color);
}

.property-details .property-overview .contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.property-details .property-overview .contact-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.property-details .property-overview .contact-form .btn-primary {
  background: var(--accent-color);
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  transition: all 0.3s ease;
}

.property-details .property-overview .contact-form .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.property-details .property-overview .social-share h5 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.property-details .property-overview .social-share .share-buttons {
  display: flex;
  gap: 10px;
}

.property-details .property-overview .social-share .share-buttons .share-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.property-details .property-overview .social-share .share-buttons .share-btn.facebook {
  background: #3b5998;
}

.property-details .property-overview .social-share .share-buttons .share-btn.twitter {
  background: #1da1f2;
}

.property-details .property-overview .social-share .share-buttons .share-btn.whatsapp {
  background: #25d366;
}

.property-details .property-overview .social-share .share-buttons .share-btn.email {
  background: #ea4335;
}

.property-details .property-overview .social-share .share-buttons .share-btn.print {
  background: var(--heading-color);
}

.property-details .property-overview .social-share .share-buttons .share-btn:hover {
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.clickviewbtn{
  background: #f2f6fa;
    padding: 10px 0;
    text-align: center;
}
.clickviewbtn a{
  width: 100%;
}


.readmore-box p {
  margin-bottom: 1rem;
}
.read-more {
  color: #007bff;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
.read-more:hover {
  text-decoration: underline;
}
#projectInfo {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

#projectInfo.clamp {
  -webkit-line-clamp: 3; /* exactly 3 lines */
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}


/* Left Tabs Menu */
.property-tabs {
  position: sticky;
  top: 80px; /* Header height ke according adjust kare */
  z-index: 99;
  background: #fff; /* Optional: background for sticky */
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* Right Sidebar */
.property-overview {
  position: sticky;
  top: 80px; /* Header height ke according adjust kare */
}

/* Optional: Add active link style */
.property-tabs .nav-link.active {
  font-weight: bold;
  color: #007bff;
}
/* Left Tabs Sticky */
.property-tabs {
  position: relative; /* Default */
  background: #fff;
  z-index: 99;

}

/* Right Sidebar Sticky */
.property-overview {
  position: relative; /* Default */
  width: min-content;
}
.property-tabs {
  position: sticky;
  top: 90px; /* adjust to match your header height */
  z-index: 10;
  background: #fff;
}

.property-overview {
  position: sticky;
  top: 90px;
}

.property-tabs .nav-link.active {
  font-weight: bold;
  color: #007bff;
  border-left: 3px solid #007bff;
  background-color: #f8f9fa;
}


#property-details.tabs-sticky {
  padding-top: 40px !important;
}


/* Default state */
#property-details {
  position: relative;
}

/* When tab menu is sticky */
#property-details.tabs-sticky {
  padding-top: 80px; /* Adjust based on tab height */
}
/* When tabs become sticky, push content down */
#property-details.tabs-sticky {
  padding-top: 80px; /* adjust based on tab height */
}

/* Optional - make tab transition smooth */
.property-tabs {
  transition: all 0.3s ease;
}
@media only screen and (max-width: 1023px){
  .property-tabs {
    position: sticky !important;
  }
  .property-overview {
    position: sticky !important;
    width: auto !important;
}
}
@media (max-width: 767px) {
.photos-grid-container .img-box img {  width: 100%;    height: 200px;}
.photos-grid-container .sub img {  width: 100%;    height: 99px;}
.ap-info {  gap: 2px;}
.location-pin{background-size: 18px;}
.default-tabs .tab-buttons{gap: 4px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;}
.default-tabs .tab-buttons li{margin: 0px}
/*.row>*{margin-top: 0px}*/
}