* {margin:0; padding:0; box-sizing:border-box;}

body {
      font-family: Arial, sans-serif;
      background: linear-gradient(135deg, #45abf8 0%, #ffffff 50%, #3baaff 100%);
      min-height: 100vh;
      position: relative;  
      min-height: 100vh;
      padding-top: 76px;
      overflow-x: hidden;
}

 body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(0, 105, 148, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 140, 186, 0.1) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    padding: 10px 40px;
    background: rgba(50, 138, 246, 0.943); 
    border-bottom: 2px solid rgba(0, 105, 148, 0.9); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.logo-img {
    width: 64px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(3deg);
}

.logo-text {
    color: rgb(250, 251, 252);
    font-family: 'arial';
    font-size: 28px;
    margin: 0;
    white-space: nowrap;
}

.menu {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: 600;
    padding: 8px 4px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.menu ul li a:hover::after {
    width: 100%;
}

.menu ul li a:hover {
    color: #050505;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-top: 12px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Terms container */
.terms-container {
  margin: 15px 0;
  font-size: 14px;
  text-align: center;
}
.terms-link {
  color: #0066cc;
  cursor: pointer;
  text-decoration: underline;
}

/* Terms Modal */
.modal1 {
display: none;
      position: fixed;
      z-index: 1003;
      align-items: center;
      justify-content: center;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      animation: fadeIn 0.3s ease;
}

/* Modal content */
.modal-content1 {
  background: #fff;
  width: 90%;
  max-width: 700px;
  max-height: 80vh; /* vertical scroll if content too long */
  overflow-y: auto;
  padding: 20px;
  border-radius: 6px;
  position: relative;
  z-index: 100; /* above overlay */
}

/* Close button */
.close1 {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

/* Modal body content */
.modal-body1 p {
  font-size: 14px;
  line-height: 1.5;
}

.house-rules-btn {
  position: fixed;
  top: 100px; /* Matches body padding-top */
  right: 40px;
  background: linear-gradient(135deg, #2f66df 0%, #1e4ba8 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(47, 102, 223, 0.4);
  transition: all 0.3s ease;
  font-size: 14px;
}

.house-rules-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 102, 223, 0.6);
}

.house-rules-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(1rem);
}

.house-rules-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.house-rules-content {
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  background: white;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 20px 50px rgba(8, 20, 40, 0.45);
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.3s ease;
  padding: 2rem;
}

.house-rules-modal.active .house-rules-content {
  transform: translateY(0) scale(1);
}

.house-rules-content h3 {
  margin-top: 0;
  color: #0b3a6a;
  text-align: center;
  margin-bottom: 1.5rem;
}

.house-rules-content ol {
  padding-left: 1.5rem;
  line-height: 1.6;
  color: #43515a;
}

.house-rules-content li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.house-rules-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #0b3a6a;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.house-rules-close:hover {
  color: #dc2626;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .house-rules-btn {
    top: 70px;
    right: 20px;
    padding: 8px 16px;
    font-size: 13px;
  }
  .house-rules-content {
    width: 95%;
    padding: 1.5rem;
  }
}

.units-gallery {
  width:96%;

  max-width:1480px;
  margin:2.5rem auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(720px, 1fr));
  gap: 1.6rem;
  align-items: start;
}

/* for general description at the top */
.general-description {
  margin-top: 2.75rem;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: #3e4040;
  text-align: center;
}


.gened2{
  display:flex;
  font-size: 1.2rem;
  color:#000000;
  justify-content: center;
  margin-top: 2px;
  font-size: 1.5rem;

}

/* Card */
.unit-card {
    text-decoration: none;

  background: transparent;
  width: 90%;
  max-height: 750px;   
  padding: 1rem;      
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 40px rgba(15,30,60,0.09);
  margin: 1.5rem auto;
  overflow: hidden;
}


.unit-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(15,30,60,0.12);
}

.image-slider {
  width: 100%;
  height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 18px 18px 0 0; 
}

/* Base style for images */
.image-slider img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  opacity: 0;
  transform: translateX(100%);
  animation: slideShow 15s infinite ease-in-out;
}

/* Delay each image for proper sequence */
.image-slider img:nth-child(1) {
   animation-delay: 0s; 
  }

.image-slider img:nth-child(2) { 
  animation-delay: 4s; 
}

.image-slider img:nth-child(3) { 
  animation-delay: 8s; 
}

@keyframes slideShow {
  0%   { opacity: 0; transform: translateX(100%); }
  8%   { opacity: 1; transform: translateX(0%); }     
  33%  { opacity: 1; transform: translateX(0%); }      
  42%  { opacity: 1; transform: translateX(-10%); }    
  50%  { opacity: 0; transform: translateX(-100%); }   
  100% { opacity: 0; transform: translateX(-100%); }   
}

.unit-info {
  background: #fff;
  margin-top: 0px; 
  margin-left: 0px;
  margin-right: 0px;
  padding: 1.6rem;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 36px rgba(15,30,60,0.10);
  border: 1px solid rgba(47,102,223,0.06);
  position: relative;
  z-index: 10;
  
}
.unit-info h3 {
  color: #0b3a6a; 
  font-size: 1.5rem; 
  margin-bottom: 0.7rem; 
}

.unit-info p { 
  color: #43515a; 
  font-size: 1.16rem; 
  line-height: 1.6; 
  margin-bottom: 1rem; 
}

.unit-info .meta {
  font-size:1rem;
  color:#557;
  margin-bottom:1.2rem;
}

.btn {
  display:block;
  width:100%;
  background:#2f66df;
  color:#fff;
  padding:13px 16px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-size: 1rem;
}


.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
  -webkit-backdrop-filter: blur(1rem);
  backdrop-filter: blur(1rem);

}
.modal:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-content {
  width: 80%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 20px 50px rgba(8, 20, 40, 0.45);
  transform: translateY(-10px) scale(.98);
  transition: transform 300ms ease, opacity 260ms ease;
  margin:0 auto;
}
.modal:target .modal-content {
  transform: translateY(0) scale(1);
}

.modal-content img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}


.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  
}

.modal-header h3 { 
  margin: 0; 
  font-size: 1.1rem; 
  color: #0b3a6a; 
  flex: 1;
}

.modal-header .header-controls { 
  display: flex; 
  gap: 8px; 
  align-items: center;
  flex-shrink: 0;
  min-width: 120px;
}

.modal-header .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  color: #0b3a6a;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.modal-header .nav-button:hover {
  background: rgba(47,102,223,0.12);
  transform: scale(1.05);
}
.modal-header .close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.5rem; 
  font-weight: normal; 
  line-height: 1; 
  color: #0b3a6a;
  text-decoration: none;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  margin-top:0.4rem;
}

.modal-header .close:hover { 
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  transform: scale(1.05);
}

.modal-body {
  display: flex;
  gap: 18px;
  padding: 16px 18px 28px;
}
.modal-body .carousel { flex: 2; background: #000; border-radius: 8px; overflow: hidden; }
.modal-body .details { flex: 1; background: #fff; padding: 12px 8px; }

@media (max-width: 880px) {
  .modal-content { width: 94%; }
  .modal-body { flex-direction: column; }
  .modal-content img { height: 300px; }
}
@media (max-width: 1024px) {
  .units-gallery { grid-template-columns: 1fr; max-width: 980px; gap: 2rem; }
  .image-slider { height: 420px; }
  .unit-info { margin-top: -64px; padding: 1.1rem; }
}

.modal-content .carousel {
  position: relative;
  background: #000;
}
.modal-content .carousel .slides {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.modal-content .carousel .slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.modal-content .carousel .slides img.active {
  display: block;
}
.modal-content .carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 1rem;
}
.modal-content .carousel .nav.prev { 
  left: 12px; 
}

.modal-content .carousel .nav.next { 
  right: 12px; 
}

.modal-content .carousel .thumbnails {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  justify-content: center;
  background: #fff;
}
.modal-content .carousel .thumbnails img {
  width: 90px;
  height: 64px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  border-radius: 6px;
}
.modal-content .carousel .thumbnails img.active {
  opacity: 1;
  border-color: #010101;
  border-width: 0.10rem;
}
.modal-content .details {
  padding:1.5rem;
}
.modal-content h3 {color:#0b3a6a;margin-bottom:0.5rem;}
.modal-content p {color:#444;line-height:1.6;}
.close {
  position:absolute;
  top:10px;
  right:20px;
  font-size:2rem;
  color:#333;
  text-decoration:none;
}

.trans1title {
  font-size: 1rem;
  color: #0b3a6a;
  margin-top: -1.75rem;
  font-weight: 600;
  
}

/*sa amenities*/ 
.fa-solid.fa-bath, 
.fa-solid.fa-wifi, 
.fa-solid.fa-tv, 
.fa-solid.fa-wind,
.fa-solid.fa-car-side,
.fa-solid.fa-person,
.fa-solid.fa-bed,
.fa-solid.fa-kitchen-set,
.fa-solid.fa-box
{
  font-size: 1rem;
  color: #2f66df;
  
}

.popup-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  
  gap: 0.5rem;
  margin-top: 2rem;
  align-items: stretch;
  max-width: 100%;
}

.amenity {
  display: flex;
  flex-direction: column;    
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #eff6ff;
  border-radius: 0.5rem;
  border: 1px solid #dceafe;
  padding: 0.6rem 0.8rem;     
  transition: all 0.2s ease;
  min-height: 80px;  
  white-space: normal;       
}

.amenity:hover {
  background-color: #dbeafe;
  border-color: #bfdbff;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(47, 102, 223, 0.15);
}

.amenity i {
  font-size: 1.4rem;
  color: #2f66df;
  margin-bottom: 0.4rem;
  display: block;
  flex-shrink: 0;             
}

.amenity-text {
  font-size: 0.8rem;
  color: #43515a;
  line-height: 1.3;
  word-wrap: break-word;
  width: 100%;
  padding: 0 0.3rem;
  hyphens: auto;              
}

@media (max-width: 768px) {
  .amenity {
    padding: 0.5rem 0.7rem;
    min-height: 75px;
  }
  
  .amenity i {
    font-size: 1.2rem;
  }
  
  .amenity-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .amenity {
    padding: 0.6rem 0.8rem;
    min-height: 80px;
  }
  
  .amenity i {
    font-size: 1.3rem;
  }
  
  .amenity-text {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .popup-meta {
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.4rem;
  }
  
  .amenity {
    padding: 0.5rem 0.3rem;
    min-height: 70px;
  }
  
  .amenity i {
    font-size: 1.2rem;
  }
  
  .amenity-text {
    font-size: 0.75rem;
  }
}

.pricing {
  background-color: #e4effd;
  padding: 1rem 2rem;
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid #bfdbff;

}
.pi{ 
  color: #2f66df;
  font-weight: 700;
  font-size: 1rem;
  margin-left:2rem;


}

.price{ 
  font-size: 2rem;
  color: #2f66df;

}

.priceText, .priceText2{
  margin-left: 3rem;
  font-size: 1rem;
}
.priceText2::after {
  content: "";
  display: block;
  width: 100%;           
  height: 2px;           
  background-color: #bfdbff;
  margin-top: 0.5rem;   
}

.downpayment{
  margin-left: 3rem;
  font-size: 1rem;
  margin-top: 1rem;

}

* Enhanced Styling */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2f66df 0%, #1e4ba8 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(47, 102, 223, 0.3);
}

.description-text {
  color: #43515a;
  line-height: 1.6;
  margin-bottom: 24px;
  margin-top:1rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin: 24px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #dceafe;
}

.section-title i {
  color: #2f66df;
}

/* Highlights Section */
.highlights-section {
  background: #f8fafc;
  padding: 20px;
  border-radius: 1rem;
  margin: 20px 0;
  border: 1px solid #dceafe;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 0.8rem;
  border-left: 3px solid #2f66df;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 102, 223, 0.15);
}

.highlight-item i {
  font-size: 24px;
  color: #2f66df;
  min-width: 24px;
  line-height: 1;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-content strong {
  color: #2d3748;
  font-size: 14px;
  font-weight: 600;
}

.highlight-content span {
  color: #43515a;
  font-size: 13px;
}

.popup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin-top: 0;
  background-color: #eff6ff;
  border-radius: 1rem;
  border: 1px solid #dceafe;
  padding: 0.7rem 1.2rem;
  transition: all 0.2s ease;
}

.amenity:hover {
  background-color: #dbeafe;
  border-color: #bfdbff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(47, 102, 223, 0.1);
}

.amenity i {
  font-size: 2rem;
  color: #2f66df;
  line-height: 1;
  vertical-align: middle;
}

.amenity-text {
  font-size: 1rem;
  color: #43515a;
  line-height: 1.2;
}

.capacity-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #2f66df 0%, #1e4ba8 100%);
  color: white;
  padding: 16px;
  border-radius: 1rem;
  margin: 24px 0;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(47, 102, 223, 0.3);
}

.capacity-banner i {
  font-size: 24px;
}

.pricing {
  background-color: #e4effd;
  padding: 1rem 2rem;
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid #bfdbff;
}

.pi {
  color: #2f66df;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 2rem;
}

.price-card {
  background: white;
  padding: 20px;
  border-radius: 0.8rem;
  text-align: center;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(47, 102, 223, 0.08);
  border: 1px solid #dceafe;
}

.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  color: #2f66df;
  font-weight: 700;
}

.price-period {
  font-size: 16px;
  color: #43515a;
  font-weight: 500;
}

.price-includes {
  color: #43515a;
  font-size: 14px;
  margin: 0;
}

.priceText, .priceText2 {
  margin-left: 3rem;
  font-size: 1rem;
  color: #43515a;
}

.priceText2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #bfdbff;
  margin-top: 0.5rem;
}

.price-extra {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 0.8rem;
  margin: 1rem 0;
  border: 1px solid #dceafe;
}

.price-extra i {
  color: #2f66df;
  font-size: 20px;
  margin-top: 2px;
}

.price-extra strong {
  color: #2d3748;
  display: block;
  margin-bottom: 4px;
}

.price-extra p {
  color: #43515a;
  font-size: 14px;
  margin: 0;
}

.downpayment {
  margin-left: 3rem;
  font-size: 1rem;
  margin-top: 1rem;
  color: #43515a;
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fff9e6;
  border-left: 3px solid #ffc107;
  border-radius: 0.5rem;
  font-size: 13px;
  color: #856404;
  margin-top: 0.5rem;
}

.price-note i {
  color: #ffc107;
  margin-top: 2px;
}

.calendar-section {
  background: white;
  padding: 24px;
  border-radius: 1rem;
  margin-top: 24px;
  box-shadow: 0 2px 8px rgba(47, 102, 223, 0.08);
  border: 1px solid #dceafe;
}

.calendar-section h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}

.calendar-section h4 i {
  color: #2f66df;
}

.calendar-note {
  color: #43515a;
  font-size: 14px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  
  .priceText, .priceText2, .downpayment, .pi {
    margin-left: 1rem;
  }
}

@media (max-width: 480px) {
  .popup-meta {
    justify-content: flex-start;
    gap: 0.6rem;
  }
  
  .amenity i {
    font-size: 1rem;
  }
  
  .amenity-text {
    font-size: 1rem;
  }
  
  .price {
    font-size: 1.5rem;
  }
  
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* Calendar */
.calendar-section { 
    margin: 24px auto;         
    width: 90%;         
    max-width: 600px;   
    background: #d3d5d6;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.calendar-section h4 {
    color: #006994;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.calendar-section > p {
    color: #546e7a;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.calendar-nav button {
    background: #006994;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,105,148,0.2);
}

.calendar-nav button:hover {
    background: #008cba;
    box-shadow: 0 3px 10px rgba(0,105,148,0.3);
}

.calendar-nav button:active {
    transform: scale(0.95);
}

.calendar-nav h5 {
    font-size: 1.2rem;
    color: #006994;
    font-weight: 700;
    margin: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    color: #006994;
    padding: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.available {
    background: white;
    color: #4a5568;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.calendar-day.available:hover {
    border-color: #006994;
    box-shadow: 0 2px 8px rgba(0,105,148,0.2);
}

.calendar-day.selected {
    background: #006994;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,105,148,0.3);
}

.calendar-day.booked {
    background: #e53e3e;
    color: white;
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(229,62,62,0.25);
}

.calendar-day.booked:hover {
    transform: none;
}

.calendar-day.other-month {
    color: #cbd5e0;
    background: transparent;
    box-shadow: none;
}

.calendar-day.pending {
  background-color: yellow;
  color: black;
}
.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(0,105,148,0.05);
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.legend-color {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.legend-color.booked {
    background: #e53e3e;
}

.calendar-day.pending { 
  background: #ecc94b; 
}
.legend-color.pending {
  background: #ecc94b; 
}
.legend-color.selected {
    background: #006994;
}

.legend-color.available {
    background: white;
    border: 2px solid #e2e8f0;
}

.availability-message {
    text-align: center;
    padding: 14px 24px;
    background: #28a745;
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(40,167,69,0.25);
    margin-top: 16px;
}

@media (max-width:1024px) {
  .units-gallery{grid-template-columns:1fr;max-width:980px;gap:2rem;
  }

  .image-slider{
    height:420px;
  }

  .unit-info{margin-top:-64px;padding:1.1rem;
  }
}

@media (max-width:880px) {
    .modal-content{
      width:94%;
    }
    
    .calendar-grid{
      gap:6px;
    }
    
    .calendar-day{
      font-size:0.85rem;
    }
    .legend{
      flex-direction:column;gap:12px;align-items:center;
    }
  }
  
.Book {
  display: flex;
  justify-content: center;   
  align-items: center;      
  margin: 1rem auto 0 auto; 
  padding: 15px 100px;
  color: white;
  border-radius: 10px;
  background-color: #2f66df;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;    
  border:none;      
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}

.Book:hover {
  transform: scale(1.09);
  background-color: #3a7ef3; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

 .booking-modal {
      display: none;
      position: fixed;
      z-index: 1002;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      animation: fadeIn 0.3s ease;
    }

    .booking-modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

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

    .booking-modal-content {
      background: white;
      border-radius: 16px;
      max-width: 600px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      animation: slideUp 0.3s ease;
      position: relative;
    }

    @keyframes slideUp {
      from {
        transform: translateY(50px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .booking-modal-header {
      padding: 24px;
      border-bottom: 1px solid #e5e7eb;
      position: sticky;
      top: 0;
      background: white;
      z-index: 10;
      border-radius: 16px 16px 0 0;
    }

    .booking-modal-header h2 {
      font-size: 24px;
      color: #111827;
      margin-bottom: 8px;
    }

    .booking-modal-header p {
      color: #6b7280;
      font-size: 14px;
    }

    .booking-close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: #f3f4f6;
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      font-size: 20px;
      color: #6b7280;
    }

    .booking-close-btn:hover {
      background: #e5e7eb;
      color: #111827;
    }

    .booking-modal-body {
      padding: 24px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .form-row.two-col {
      grid-template-columns: 1fr 1fr;
    }

    @media (max-width: 640px) {
      .form-row.two-col {
        grid-template-columns: 1fr;
      }
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      font-size: 14px;
      font-weight: 600;
      color: #374151;
      margin-bottom: 8px;
    }

    .form-group label .required {
      color: #ef4444;
    }

    .form-group input,
    .form-group textarea {
      padding: 12px 16px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-size: 15px;
      transition: all 0.2s;
      font-family: inherit;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 80px;
    }

    .date-input-wrapper {
      position: relative;
    }

    .date-input-wrapper i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #6b7280;
      pointer-events: none;
    }

    .date-input-wrapper input {
      padding-left: 44px;
    }

    .upload-area {
      border: 2px dashed #d1d5db;
      border-radius: 8px;
      padding: 24px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s;
      background: #f9fafb;
    }

    .upload-area:hover {
      border-color: #667eea;
      background: #f3f4f6;
    }

    .upload-area i {
      font-size: 32px;
      color: #9ca3af;
      margin-bottom: 12px;
    }

    .upload-area p {
      color: #6b7280;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .upload-area span {
      color: #9ca3af;
      font-size: 12px;
    }

    .upload-area input {
      display: none;
    }

    .file-preview {
      display: none;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: #f3f4f6;
      border-radius: 8px;
      margin-top: 12px;
    }

    .file-preview.active {
      display: flex;
    }

    .file-preview i {
      color: #667eea;
      font-size: 20px;
    }

    .file-info {
      flex: 1;
    }

    .file-info p {
      font-size: 14px;
      color: #374151;
      margin: 0;
    }

    .file-info span {
      font-size: 12px;
      color: #6b7280;
    }

    .remove-file {
      background: none;
      border: none;
      color: #ef4444;
      cursor: pointer;
      padding: 4px;
    }

    .submit-btn {
      width: 100%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border: none;
      padding: 16px;
      font-size: 16px;
      font-weight: 600;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
      margin-top: 24px;
    }

    .submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .submit-btn:disabled {
      background: #d1d5db;
      cursor: not-allowed;
      transform: none;
    }

    .number-input {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .number-input button {
      width: 36px;
      height: 36px;
      border: 1px solid #d1d5db;
      background: white;
      border-radius: 6px;
      cursor: pointer;
      font-size: 18px;
      color: #374151;
      transition: all 0.2s;
    }

    .number-input button:hover {
      background: #f3f4f6;
      border-color: #667eea;
    }

    .number-input input {
      flex: 1;
      text-align: center;
    }

    .book-now-button {
      display:flex;
      justify-content: center;
      margin:auto;
      width: 80%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border: none;
      padding: 1rem;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
      margin-top: 3rem;
      margin-bottom: 3rem;

    }

    .book-now-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }

    .book-now-button:active {
      transform: translateY(0);
    }

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 25px;
  color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;          
  background: linear-gradient(135deg, #2f66df 0%, #1e4ba8 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;            
  font-weight: 600;
  gap: 8px;                  
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(47, 102, 223, 0.3);
  min-height: 42px;          
}

.quick-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 102, 223, 0.4);
}

.quick-nav-btn.active {
  background: linear-gradient(135deg, #1e4ba8 0%, #153a7a 100%);
}

.quick-nav .quick-nav-btn i {
  color: #ffffff;
  font-size: 16px;             
}

.popup-meta .amenity i {
  font-size: 1.2rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f66df;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .quick-nav-btn {
    font-size: 12px;           
    padding: 10px 14px;        
    gap: 6px;
    min-height: 40px;
  }
  
  .quick-nav .quick-nav-btn i {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .quick-nav {
    gap: 4px;
    padding: 10px;
  }
  
  .quick-nav-btn {
    font-size: 11px;          
    padding: 8px 12px;        
    min-height: 38px;
  }
  
  .quick-nav .quick-nav-btn i {
    font-size: 13px;
  }
  
  .popup-meta .amenity i {
    font-size: 1rem;
    width: 22px;
    height: 22px;
  }
  
  .popup-meta .amenity {
    height: 36px;
    padding: 0 0.4rem;
    gap: 0.35rem;
  }
}



/* Carousel Container */
.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.slides {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slides img.active {
  opacity: 1;
  z-index: 1;
}

/* Navigation Arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #2f66df;
  border: none;
  font-size: 24px;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

/* Thumbnails */
.thumbnails {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #f8f9fa;
  overflow-x: auto;
}

.thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.thumbnails img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.thumbnails img.active {
  border-color: #2f66df;
  opacity: 1;
}

/* Room Label */
.room-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(47, 102, 223, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  z-index: 5;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .slides {
    height: 300px;
  }
  
  .quick-nav-btn {
    font-size: 12px;
    padding: 10px 12px;
    min-width: 100px;
  }
  
  .thumbnails img {
    width: 60px;
    height: 45px;
  }

}

@media (max-width: 1024px) {
  .navbar {
    padding: 10px 30px;
  }
  
  .menu ul {
    gap: 20px;
  }
  
  .logo-text {
    font-size: 24px;
  }
  
  .units-gallery {
    grid-template-columns: 1fr;
    max-width: 980px;
    gap: 2rem;
    width: 90%;
  }
  
  .image-slider {
    height: 420px;
  }
  
  .unit-info {
    margin-top: -64px;
    padding: 1.1rem;
  }
  
  .modal-content {
    width: 90%;
    max-width: 900px;
  }
  
  .modal-body {
    flex-direction: column;
  }
  
  .modal-content img {
    height: 350px;
  }
  
  .calendar-section {
    width: 95%;
    padding: 20px;
  }
  
  .calendar-grid {
    gap: 6px;
  }
  
  .calendar-day {
    font-size: 0.9rem;
  }
  
  .quick-nav {
    gap: 8px;
    padding: 20px;
  }
  
  .quick-nav-btn {
    font-size: 12px;
    padding: 10px 14px;
    min-height: 40px;
  }
  
  .quick-nav .quick-nav-btn i {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
    flex-wrap: nowrap;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .logo-img {
    width: 50px;
    margin-right: 0.5rem;
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
  }
  
  .menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
  }
  
  .menu ul {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 76px);
    background: rgba(50, 138, 246, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    margin: 0;
  }
  
  .menu ul.active {
    right: 0;
  }
  
  .menu ul li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .menu ul li a {
    display: block;
    padding: 0.5rem 1rem;
  }
  
  .units-gallery {
    width: 95%;
    margin: 2rem auto;
    gap: 2.5rem;
  }
  
  .unit-card {
    width: 100%;
    margin: 0;
  }
  
  .image-slider {
    height: 350px;
  }
  
  .unit-info {
    padding: 1.2rem;
  }
  
  .unit-info h3 {
    font-size: 1.3rem;
  }
  
  .unit-info p {
    font-size: 1rem;
  }
  
  .meta {
    font-size: 0.9rem;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .modal-header h3 {
    font-size: 1.2rem;
  }
  
  .header-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .modal-content .carousel .slides {
    height: 350px;
  }
  
  .quick-nav {
    gap: 6px;
    padding: 15px;
    justify-content: center;
  }
  
  .quick-nav-btn {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 38px;
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
  
  .quick-nav .quick-nav-btn i {
    font-size: 13px;
  }
  
  .popup-meta {
    gap: 0.6rem;
    justify-content: center;
  }
  
  .amenity {
    padding: 0.6rem 0.8rem;
    min-height: 75px;
    flex: 0 0 calc(50% - 0.6rem);
  }
  
  .amenity i {
    font-size: 1.2rem;
  }
  
  .amenity-text {
    font-size: 0.75rem;
  }
  
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .highlight-item {
    padding: 10px;
  }
  
  .pricing {
    padding: 1rem 1.5rem;
  }
  
  .price {
    font-size: 1.75rem;
  }
  
  .priceText, .priceText2, .downpayment, .pi {
    margin-left: 1rem;
    font-size: 0.95rem;
  }
  
  .calendar-section {
    width: 100%;
    padding: 20px 15px;
  }
  
  .calendar-nav h5 {
    font-size: 1rem;
  }
  
  .calendar-nav button {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .calendar-day-header {
    font-size: 0.75rem;
    padding: 8px;
  }
  
  .calendar-day {
    font-size: 0.85rem;
  }
  
  .legend {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .legend-item {
    font-size: 0.85rem;
  }
  
  .legend-color {
    width: 28px;
    height: 28px;
  }
  
 
  .book-now-button {
    width: 90%;
    padding: 0.875rem;
    font-size: 0.95rem;
  }
  

  .booking-modal-content {
    max-width: 95%;
    margin: 10px;
  }
  
  .booking-modal-header h2 {
    font-size: 20px;
  }
  
  .booking-modal-body {
    padding: 20px;
  }
  
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }
  
  .submit-btn {
    padding: 14px;
    font-size: 15px;
  }
  
  
  .thumbnails {
    gap: 8px;
    padding: 10px;
  }
  
  .thumbnails img {
    width: 60px;
    height: 45px;
  }
}


@media (max-width: 480px) {
  .navbar {
    padding: 8px 15px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .logo-img {
    width: 40px;
  }
  
  .units-gallery {
    width: 92%;
    margin: 1.5rem auto;
    gap: 2rem;
  }
  
  .image-slider {
    height: 280px;
  }
  
  .unit-info {
    padding: 1rem;
  }
  
  .unit-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .unit-info p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .meta {
    font-size: 0.85rem;
  }
  
  .btn {
    padding: 11px 14px;
    font-size: 0.9rem;
  }
  
  .modal-content {
    width: 98%;
    margin: 5px;
  }
  
  .modal-header h3 {
    font-size: 1.1rem;
  }
  
  .modal-header .nav-button,
  .modal-header .close {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  
  .modal-content .carousel .slides {
    height: 280px;
  }
  
  .quick-nav {
    padding: 12px;
    gap: 5px;
  }
  
  .quick-nav-btn {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 36px;
    gap: 4px;
  }
  
  .quick-nav .quick-nav-btn i {
    font-size: 12px;
  }
  
  .popup-meta {
    gap: 0.5rem;
  }
  
  .amenity {
    padding: 0.5rem 0.6rem;
    min-height: 70px;
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  .amenity i {
    font-size: 1.1rem;
  }
  
  .amenity-text {
    font-size: 0.7rem;
  }
  

  .section-title {
    font-size: 16px;
    margin: 20px 0 12px 0;
  }
  
  .section-title i {
    font-size: 14px;
  }
  

  .description-text {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .highlights-section {
    padding: 15px;
  }
  
  .highlight-item {
    padding: 10px;
    gap: 10px;
  }
  
  .highlight-item i {
    font-size: 20px;
  }
  
  .highlight-content strong {
    font-size: 13px;
  }
  
  .highlight-content span {
    font-size: 12px;
  }
  
  .capacity-banner {
    padding: 12px;
    font-size: 14px;
    margin: 20px 0;
  }
  
  .capacity-banner i {
    font-size: 20px;
  }
  

  .pricing {
    padding: 0.875rem 1.25rem;
    margin-top: 1.5rem;
  }
  
  .price {
    font-size: 1.5rem;
  }
  
  .price-period {
    font-size: 14px;
  }
  
  .price-includes {
    font-size: 13px;
  }
  
  .priceText, .priceText2, .downpayment {
    margin-left: 0.5rem;
    font-size: 0.875rem;
  }
  
  .pi {
    margin-left: 0.5rem;
    font-size: 0.9rem;
  }

  .calendar-section {
    padding: 18px 12px;
  }
  
  .calendar-section h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .calendar-note {
    font-size: 13px;
    margin-bottom: 14px;
  }
  
  .calendar-nav h5 {
    font-size: 0.95rem;
  }
  
  .calendar-nav button {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  
  .calendar-grid {
    gap: 4px;
  }
  
  .calendar-day-header {
    font-size: 0.7rem;
    padding: 6px;
  }
  
  .calendar-day {
    font-size: 0.8rem;
    padding: 4px;
  }
  
  .legend-color {
    width: 24px;
    height: 24px;
  }
  
  .legend-item {
    font-size: 0.8rem;
  }
  
  .availability-message {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
  

  .book-now-button {
    width: 95%;
    padding: 0.75rem;
    font-size: 0.9rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  

  .booking-modal-header {
    padding: 20px;
  }
  
  .booking-modal-header h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .booking-modal-header p {
    font-size: 13px;
  }
  
  .booking-close-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .booking-modal-body {
    padding: 16px;
  }
  
  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .upload-area {
    padding: 20px;
  }
  
  .upload-area i {
    font-size: 28px;
  }
  
  .upload-area p {
    font-size: 13px;
  }
  
  .upload-area span {
    font-size: 11px;
  }
  
  .submit-btn {
    padding: 13px;
    font-size: 14px;
    margin-top: 20px;
  }
  
  .number-input button {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .nav {
    padding: 8px 12px;
    font-size: 1rem;
  }
  
  .thumbnails {
    gap: 6px;
    padding: 8px;
  }
  
  .thumbnails img {
    width: 50px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 8px 12px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .logo-img {
    width: 35px;
  }
  
  .units-gallery {
    width: 95%;
    gap: 1.5rem;
  }
  
  .image-slider {
    height: 240px;
  }
  
  .unit-info {
    padding: 0.875rem;
  }
  
  .unit-info h3 {
    font-size: 1.1rem;
  }
  
  .unit-info p {
    font-size: 0.85rem;
  }
  
  .meta {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .modal-content .carousel .slides {
    height: 240px;
  }
  
  .quick-nav-btn {
    font-size: 9px;
    padding: 6px 8px;
    min-height: 34px;
  }
  
  .amenity {
    min-height: 65px;
    padding: 0.45rem 0.5rem;
  }
  
  .price {
    font-size: 1.3rem;
  }
  
  .calendar-section {
    padding: 15px 10px;
  }
  
  .book-now-button {
    font-size: 0.85rem;
    padding: 0.65rem;
  }
  
  .booking-modal-header h2 {
    font-size: 16px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 9px 12px;
    font-size: 12px;
  }
  
  .submit-btn {
    padding: 12px;
    font-size: 13px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .image-slider {
    height: 200px;
  }
  
  .modal-content .carousel .slides {
    height: 200px;
  }
  
  .calendar-section {
    margin-top: 15px;
  }
  
  .booking-modal-content {
    max-height: 95vh;
  }}

/* GCash Payment Info Card book now popup*/
.payment-info-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #0284c7;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.payment-info-header {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-info-header i {
  font-size: 24px;
}

.payment-info-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.payment-info-body {
  padding: 20px;
  background: white;
}

.gcash-number-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.gcash-number-display:hover {
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.gcash-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

.gcash-number {
  font-size: 20px;
  font-weight: 700;
  color: #0369a1;
  letter-spacing: 1px;
  flex: 1;
  font-family: 'Courier New', monospace;
}

.copy-btn {
  background: #0284c7;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.copy-btn:hover {
  background: #0369a1;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.copy-btn:active {
  transform: scale(0.95);
}

.account-name,
.payment-amount {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #334155;
}

.account-name i,
.payment-amount i {
  color: #0284c7;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.account-name strong,
.payment-amount strong {
  color: #0f172a;
  font-weight: 700;
}

.payment-note {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 0 0 8px 8px;
  margin: 0;
}

.payment-note i {
  color: #f59e0b;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.payment-note p {
  margin: 0;
  font-size: 13px;
  color: #78350f;
  line-height: 1.6;
  font-weight: 500;
}

/* Copy notification */
.copy-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 14px 24px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
  font-weight: 600;
  font-size: 15px;
}

.copy-notification i {
  font-size: 20px;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.copy-notification.hiding {
  animation: slideOutRight 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .gcash-number-display {
    flex-wrap: wrap;
  }
  
  .gcash-number {
    font-size: 18px;
    width: 100%;
  }
  
  .copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Price Summary Box */
.price-summary-box {
  background: linear-gradient(135deg, #66bcea 0%, #4b89a2 100%);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  color: white;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.price-summary-header i {
  font-size: 24px;
}

.price-summary-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  padding: 8px 0;
}

.price-label {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}

.price-label i {
  font-size: 16px;
  opacity: 0.8;
}

.price-value {
  font-weight: 700;
  font-size: 16px;
}

.price-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 8px 0;
}

.total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-top: 12px;
}

.total-label {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.total-label i {
  font-size: 20px;
}

.total-amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.price-note {
  background: rgba(255, 241, 159, 0.886);
  border-left: 3px solid #000000;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-note i {
  color: #f27c3c;
  margin-top: 2px;
  font-size: 16px;
  flex-shrink: 0;
}

.price-error {
  background: rgba(239, 68, 68, 0.2);
  border-left: 3px solid #ef4444;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-error i {
  color: #fca5a5;
  font-size: 18px;
}

@media (max-width: 640px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  
  .total-amount {
    font-size: 24px;
  }
  
  .total-label {
    font-size: 16px;
  }
  
  .price-summary-box {
    padding: 20px;
  }
}

.custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.alert-box {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  text-align: center;
}

.alert-box button {
  margin-top: 15px;
  padding: 8px 20px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 16px;
  border-radius: 4px;
  z-index: 10000;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateX(400px);
  transition: transform 0.3s ease;
}
.toast.show {
  transform: translateX(0);
}
.toast.error {
  background: #f44336;
}
