  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
  }

  /* Shared container for both sections */
  .content-container {
    padding: 0 0px;
    margin-top: 94px;
  }
  .price-box .collapse-vertical {
    grid-column: 1 / -1; /* make it span full grid width */
    width: 100%;

  }


  /* Image grid wrapper */
  .image-grid-wrapper {
  position: relative;
  margin-top: 0; /* remove the 60px */
  width: 100%;
  height: auto;
  overflow: hidden;
  z-index: 0; /* behind navbar */
 
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 100%; /* fill the wrapper */
}


  .left-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .right-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 100%;
  }

  .right-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .image-overlay-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .image-overlay-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
     
  }

  .image-overlay-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    z-index: 1;
  }

  .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #242424;

    font-size: 1.5rem;
    pointer-events: none;
    user-select: none;
  }
  

  /* Details Grid */
  .details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }

  .price-box {
    display: flex;
    flex-direction: column; /* <-- stack items vertically */
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 20px;
    margin-left: 40px;

  }

/* Vertical Collapsible Styling */
.collapse-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.collapse-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Toggle Header */
.collapse-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #242424;
  cursor: pointer;
  transition: background 0.3s;
}

.collapse-toggle:hover {
  background-color: #f8f8f8;
}

/* Arrow animation */
.collapse-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

.collapse-toggle i {
  transition: transform 0.3s;
  color: #555;
}

/* Collapsed Content */
.collapse-content {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #333;
  background-color: #fafafa;
}

/* Initially hidden content */
.collapse-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  border-top: 1px solid #eee;
  background-color: #fafafa;
  font-size: 0.95rem;
  color: #333;
}

/* Expanded state */
.collapse-box.open .collapse-content {
  padding: 15px 20px;
  max-height: 500px; /* enough to show your text */
}

/* Arrow rotation */
.collapse-toggle i {
  transition: transform 0.3s;
}

.collapse-box.open .collapse-toggle i {
  transform: rotate(180deg);
}




.price-box h1 {
  font-size: 2.8rem;
  margin: 0;
  color: #242424;
}

.description-box {
  padding: 20px 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #242424;
  margin-bottom: 120px;
  margin-left: 160px;
  max-width: 60%;


}
.features-inline {
  display: flex;
  gap: 40px; /* space between features */
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.feature-inline {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.feature-value {
  font-size: 3rem;
  font-weight: bold;
  color: #242424;
}

.feature-label {
  font-size: 1rem;
  color: #242424;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-subtext {
  font-size: 0.85rem;
  color: #555;
  margin-top: 18px;
}


/* FOR MAKING STATIC FORM BEFORE NAV */
.agent-info-wrapper {
  position: relative;
  transition: all 0.3s ease;
}

.agent-info-wrapper.fixed {
  position: fixed;
  top: 84px; /* nav height (80px) + 4px gap */
  z-index: 999;
  width: 350px; /* or adjust to your layout */
}

@media (max-width: 768px) {
  .agent-info-wrapper.fixed {
    position: static;
    width: 100%;
  }
}
/* FOR MAKING STATIC FORM BEFORE NAV */

 

/* Agent Info Section */
/* Agent Info Section */
.agent-info {
  display: flex;
  align-items: center;  /* Align items vertically in the center */
  padding: 15px;
  border: 1px solid #ccc;  /* 1px border around the agent info */
  margin-bottom: 20px;
  border-radius: 10px;
  flex-wrap: wrap;  /* Allow the form and phone info to wrap under */
   

}

.agent-details {
  display: flex;
  align-items: center;
  gap: 10px;  /* Small gap between avatar and agent name */
}

.agent-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #888;
  border-radius: 5px;
   
}

.agent-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;  /* Removed margin for tighter alignment */
}

.company-name {
  font-size: 14px;
  color: #666;
}

/* Phone Info Section */
.phone-info {
  
  gap: 8px;  /* Small gap between phone icon and number */
  margin-left: 40px;  /* Margin to the left to space from agent details */
}

.phone-number {
  font-size: 16px;
  font-weight: 600;
  color: #444;
}

.phone-info i {
  font-size: 18px;
  color: #222;
}

/* Contact Form inside Agent Info */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  width: 100%;  /* Make sure it stretches across */
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #999; /* 1px border for fields */
  background-color: transparent; /* Clear background */
  color: #333;
  border-radius: 10px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .submit-btn {
  background-color: transparent;
  border: 1px solid #888;
  color: black;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: #333;
}

/* Ensure contact form doesn't push content too much */
.contact-form .form-group {
  margin-top: 10px;
}






/* Responsive Design */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .right-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }

  .right-images img,
  .image-overlay-container {
    height: auto;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .price-box {
    margin-left: 0px;           /* remove extra left space */
    padding: 15px;            /* reduce padding for smaller screens */
    width: 100%;              /* ensure full width */
    box-sizing: border-box;   /* prevent overflow */
    margin-top: -24px;
  }

  .description-box {
    margin-left: 0;
    max-width: 100%;          /* prevent it from overflowing */
    padding: 15px;
  }

  .features-inline {
    gap: 20px;                /* smaller gaps for narrow screens */
  }
}


/* MOBILE NAV*/

@media (max-width: 768px) {
  .mobile-top-nav {
    position: absolute; /* overlay on top of image */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    
    color: #fff;
    font-weight: 600;
    z-index: 20; /* above image and slider */
  }

  .mobile-top-nav .nav-left {
    font-size: 20px;
  }

  .mobile-top-nav .nav-right {
    position: relative;
  }

  .mobile-top-nav .burger-menu {
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-top-nav .burger-dropdown {
    position: absolute;
    top: 40px; /* below the button */
    right: 0;
    background: #fff;
    color: #000;
    border-radius: 6px;
    overflow: hidden;
    display: none; /* hidden by default */
    min-width: 120px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .mobile-top-nav .burger-dropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
  }

  .mobile-top-nav .burger-dropdown a:hover {
    background: #f0f0f0;
  }
}

