/* ==================================overview_sec===================================== */
.overview_sec {
  padding: 0 3%;
  margin-bottom: 6rem;
}
.overview_heading h1 {
  margin: 0;
  color: var(--blue);
  font-size: 2rem;
  text-align: center;
  padding: 0 0 3rem 0;
  font-weight: 100;
  text-transform: uppercase;
}
.overview_con {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  /* align-items: center; */
}
/* .overview_img_con{
  flex-basis: 35%;
} */
.overview_wr_up {
  flex-basis: 60%;
  font-size: clamp(1.5rem, 2.3vw + 2rem, 3rem);
  font-weight: 600;
}

.property-details {
  flex-basis: 30%;
  /* padding: 0 3rem; */
}
.property_boder {
  padding-left: 1rem;
  border-left: 0.5px solid #e2e2e2;
}
@media screen and (max-width: 768px) {
  .overview_heading h1 {
    font-size: 2rem;
  }
}
/* ==================================flex basis end===================================== */
.overview_wr_up p {
  margin: 0; /* Remove top and bottom margin */
  padding: 0 1rem;
  font-size: 1.1rem;
  line-height: 2rem;
  color: #555555;
  font-weight: 400;
}
.overview_img_con img {
  width: 100%;
  border-radius: 0.35rem;
}

.property-card {
  /* Adjust to your preferred width */
  background: linear-gradient(to bottom, #ffffff 0%, #f3f3f3 100%);
  border-radius: 0.35rem;
  /* padding: 0;
  margin: 0 auto; */
}
.detail-item {
  display: flex;
  justify-content: space-between; /* Align labels & values */
  padding: 0.5rem 0;
  border-bottom: 0.5px solid #e2e2e2; /* Creates the bottom line */
}

/* Remove border from last item */
.detail-item:last-child {
  border-bottom: none;
}
.detail-label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}
/* Value styling */
.detail-value {
  font-size: 1rem;
  /* color: #555;
  font-weight: 700; */
  text-transform: capitalize;
  text-align: right;
}
@media screen and (max-width: 780px) {
  .overview_con {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
  }
}
/* ==================================brochure===================================== */
.brochure-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 43, 84, 0.95), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    animation: brochureFadeIn 0.3s ease-out;
}

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

.brochure-container {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 700px;
    width: 100%;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    animation: brochureSlideUp 0.4s ease-out;
}

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

/* Header Styles */
.brochure-header {
    background: linear-gradient(135deg, var(--blue), #1e3a72);
    color: white;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.brochure-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(239, 197, 157, 0.2), transparent);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.brochure-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.brochure-icon {
    /* background: linear-gradient(135deg, #EFC59D, #d4a574); */
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    /* color: var(--blue); */
    /* box-shadow: 0 8px 16px rgba(239, 197, 157, 0.3); */
}

.brochure-icon img{
  width: 100%;
}

.brochure-title-section {
    flex: 1;
}

.brochure-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #ffffff, #e3f2fd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brochure-subtitle {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

.brochure-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.brochure-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Form Section */
.brochure-form-section {
    padding: 40px;
    background: linear-gradient(145deg, #1f2937, #111827);
}

.brochure-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.brochure-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.brochure-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brochure-label {
    font-weight: 600;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.brochure-label i {
    font-size: 16px;
    color: #EFC59D;
    width: 16px;
}

.brochure-input {
    padding: 10px 10px;
    border: 1px solid #e1e5e9;
    border-radius: 2px;
    font-size: 16px;
    font-family: inherit;
    background: #374151;
    border-color: #4b5563;
    color: white;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.brochure-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.brochure-input:focus {
    border-color: #EFC59D;
    box-shadow: 0 0 0 3px rgba(239, 197, 157, 0.1);
}

/* Submit Section */
.brochure-submit-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

/* .brochure-submit-btn {
    background: linear-gradient(135deg, #EFC59D, #d4a574);
    color: var(--blue);
    border: none;
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(239, 197, 157, 0.3);
    min-width: 220px;
    justify-content: center;
}

.brochure-submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #d4a574, #c69660);
    box-shadow: 0 12px 24px rgba(239, 197, 157, 0.4);
}

.brochure-submit-btn:active {
    transform: translateY(0);
} */

.brochure-note {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.brochure-note i {
    color: #EFC59D;
    font-size: 16px;
}

/* Loading State */
.brochure-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.brochure-submit-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    .brochure-overlay {
        padding: 10px;
    }
    
    .brochure-container {
        margin: 10px auto;
        border-radius: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .brochure-header {
        padding: 24px 20px;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }
    
    .brochure-header-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .brochure-close {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .brochure-title {
        font-size: 20px;
    }
    
    .brochure-subtitle {
        font-size: 14px;
    }
    
    .brochure-form-section {
        padding: 28px 20px;
    }
    
    .brochure-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brochure-input {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    /* .brochure-submit-btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-width: auto;
    } */
}

/* Notification Styles */
.brochure-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10001;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease-out;
    max-width: 350px;
}

.brochure-notification.error {
    background: #ef4444;
}

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

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

/* ===================================aminities==================================== */
.aminities_section {
  background-image: url(../Pictures/bg1-h1.jpg);
  /* align-items: center; */
  padding: 0 0 3rem 0;
}
.aminities_write_up {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers horizontally */
  justify-content: center; /* Centers vertically */
  text-align: center;
  padding-top: 4rem;
  color: var(--white);
}
.aminities_write_up h1 {
  font-size: 2rem;
  margin: 0;
  padding-bottom: 1rem;
  color: var(--brown);
  font-weight: 100;
  text-transform: uppercase;
}
.aminities_write_up p {
  font-size: 1.2rem;
  width: 45rem;
}
.aminities_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.7rem;
  padding: 2rem 6%;
  color: var(--white);
  text-align: center; /* Centers text inside the div */
}

.aminites {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers horizontally */
  justify-content: center; /* Centers vertically */
  text-align: center;
  /* font-family: var(--font-mons); */
  padding-top: 3rem;
}
.aminites img {
  width: 4rem;
}

.aminites p {
  font-weight: 500;
}
@media screen and (max-width: 780px) {
  .aminities_container {
    grid-template-columns: repeat(2, 1fr);
  }
  .aminities_write_up {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .aminities_write_up h1 {
    font-size: 2rem;
    padding-bottom: 1rem;
  }
  .aminities_write_up p {
    width: 100%;
  }
  .aminites img {
    width: 3rem;
  }
}
/* ===================================property slider==================================== */
.property_bg_color {
  padding-top: 5rem;
  background-color: whitesmoke;
}
.multi-item-slider-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.multi-item-slider-text {
  text-align: center;
  padding: 1rem 0;
}
.multi-item-slider-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 100;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .multi-item-slider-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--blue);
  }
}
/* Slider Container */
.multi-item-slider {
  position: relative;
  overflow: hidden;
  /* border: 1px solid #ddd; */
  border-radius: 1rem;
  padding: 1rem 0;
  cursor: grab;
}

.multi-item-slider.grabbing {
  cursor: grabbing;
}

/* Track that holds the slides */
.multi-item-track {
  display: flex;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Each card (slide) */
.multi-item-card {
  /* The width will be set in JavaScript based on slidesPerPage */
  flex: 0 0 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.multi-item-card:hover {
  transform: translateY(-5px);
}

/* Image Container inside each card */
.card-image-container {
  width: 100%;
  height: 15rem; /* Fixed height for the image container */
  overflow: hidden;
  border-radius: 0.55rem 0.55rem 0 0;
  margin-bottom: 0.5rem;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container with cropping if necessary */
}
.multi-item-card:hover .card-image-container img {
  transform: scale(1.08);
}

/* Card Content */
.card-content {
  background-color: #ffffff;
  /* border: 1px solid #ddd; */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  outline: none;
  border-radius: 0 0 0.55rem 0.55rem;
  padding: 1rem;
}
.card-content h3 {
  margin: 0;
}
.card-content h3 {
  color: var(--blue);
}
.card-content a h3:hover {
  color: var(--brown);
}
.aprt_des {
  display: flex;
  justify-content: space-between;
}
.card-content p {
  margin: 0.4rem 0;
}
.card-content .aprt {
  font-size: 1.2rem;
}
.property_features {
  display: flex;
  align-items: center;
}
.property_features .features {
  display: flex;
  padding: 0 0.5rem 0 0;
}
.property_features .features img {
  width: 1.3rem;
  padding-right: 0.3rem;
}
/* Dots for Pagination */
.multi-item-dots {
  text-align: center;
  margin-top: 0.5rem;
}

.multi-item-dots .dot {
  display: inline-block;
  height: 0.6rem;
  width: 0.6rem;
  margin: 0 0.25rem;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.multi-item-dots .dot.active {
  background-color: var(--brown);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-content {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}
/* ===================================plan calculator==================================== */
.payment-calculator-section {
  padding: 4rem 6%;
  background: #f0f2f5;
  /* margin: 3rem 0; */
}

/* Modified wrapper - now vertical layout */
.calculator-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.calculator-form-container {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.calculator-header h2 {
  font-size: 1.8rem;
  color: #1f2937;
  margin: 0;
  font-weight: 700;
}

.clear-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.clear-btn:hover {
  color: #374151;
}

.calculator-form {
  margin-top: 30px;
}

.form-row {
  display: flex;
  column-gap: 15px;
  margin-bottom: 20px;
}

.input-box {
  width: 100%;
  margin-top: 20px;
}

.input-box:first-child {
  margin-top: 0;
}

.form-row .input-box {
  margin-top: 0;
}

.input-box label {
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.input-box select {
  position: relative;
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 0.9rem;
  color: #707070;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
  background: white;
  transition: all 0.2s ease;
}

.input-box select:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  border-color: var(--blue);
}

.range-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 8px;
}

.range-container input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #3b82f6 0%,
    #3b82f6 25%,
    #e5e7eb 25%,
    #e5e7eb 100%
  );
  outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-value {
  background: #f3f4f6;
  color: #6b7280;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid #ddd;
}

.calculate-btn {
  height: 45px;
  width: 100%;
  color: black;
  font-size: 0.9rem;
  font-weight: 100;
  margin-top: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-family: var(--font-gara);
  gap: 8px;
}
.calculate-btn:hover {
  background: var(--blue);
  color: white;
}

/* Results container - now full width below calculator */
.calculator-results-container {
  background-image: url(../Pictures/bg1-h1.jpg);
  border-radius: 10px;
  padding: 2rem;
  color: white;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 350px;
}

.placeholder-icon {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--brown);
}

.placeholder-icon i {
  animation: float 3s ease-in-out infinite;
}

.placeholder-icon i:nth-child(2) {
  animation-delay: 0.5s;
}

.placeholder-icon i:nth-child(3) {
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.results-placeholder h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.results-placeholder p {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
}

.results-content {
  animation: slideIn 0.5s ease-out;
}

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

.results-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f9fafb;
  text-align: center;
}

.selected-apartment {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--brown);
}

.results-header {
  text-align: center;
}

/* Side-by-side layout wrapper */
.payment-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.payment-summary {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  border-top: 2px solid var(--brown);
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.summary-item .label {
  color: #d1d5db;
  font-size: 0.9rem;
}

.summary-item .value {
  color: #f9fafb;
  font-weight: 600;
}

.payment-schedule {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.schedule-title {
  color: #f9fafb;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-summary {
  background: transparent;
  border: 1px solid var(--brown);
  color: white;
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.toggle-schedule {
  background: none;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
  font-weight: 500;
}

.schedule-container {
  max-height: 150px;
  overflow-y: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.schedule-container::-webkit-scrollbar {
  width: 4px;
}

.schedule-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.schedule-container::-webkit-scrollbar-thumb {
  background: var(--brown);
  border-radius: 2px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item.initial {
  background: rgba(59, 130, 246, 0.2);
  font-weight: 600;
}

.calculator-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.schedule-btn,
.contact-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 2px;
  font-weight: 100;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: var(--font-gara);
}

.schedule-btn {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--brown);
}

.schedule-btn:hover {
  background: var(--blue);
  color: white;
}

.contact-btn {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--brown);
}

.contact-btn:hover {
  background: var(--blue);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-calculator-section {
    padding: 2rem 5%;
  }

  .calculator-wrapper {
    max-width: 100%;
  }

  .calculator-form-container,
  .calculator-results-container {
    padding: 1.5rem;
  }

  .calculator-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .calculator-header h2 {
    font-size: 1.5rem;
  }

  /* Responsive side-by-side layout */
  .payment-content-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calculator-actions {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .results-placeholder {
    height: 250px;
  }

  .placeholder-icon {
    font-size: 1.5rem;
  }

  /* Make form responsive */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .input-box {
    margin-top: 20px;
  }

  .form-row .input-box:first-child {
    margin-top: 0;
  }
}
/* ===================================gallary==================================== */
.gallery_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 0;
}

.title-single {
  color: var(--blue);
  text-align: center;
  margin: 1rem 0 3rem;
  font-size: 2rem;
  position: relative;
  font-weight: 100;
  text-transform: uppercase;
}

.title-single:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--brown);
}

.gallery_slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6%;
  margin: 0 auto;
}

/* .gallery_slider-wrapper .image-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(10, 1fr);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) #e0e0e0;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
} */
.gallery_slider-wrapper .image-list {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 20px; /* Space between items */
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical overflow if any */
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) #e0e0e0;
  -webkit-overflow-scrolling: touch; /* Smooth scroll on mobile */
}

.gallery_slider-wrapper .slide-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  color: #fff;
  background: var(--blue);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.gallery_slider-wrapper .slide-button:hover {
  background: var(--brown);
  transform: translateY(-50%) scale(1.1);
}

.gallery_slider-wrapper .slide-button#back-slide {
  left: 20px;
}

.gallery_slider-wrapper .slide-button#forward-slide {
  right: 20px;
}

.gallery_container .image-list .image-item {
  width: 300px;
  height: 350px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery_container .image-list .image-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery_container .image-list::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.gallery_container .image-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.gallery_container .image-list::-webkit-scrollbar-thumb {
  background-color: var(--brown);
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.gallery_container .image-list::-webkit-scrollbar-thumb:hover {
  background-color: #d9a77c;
}

/* Modal overlay styling */
/* Modal overlay styling with navigation */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 100000000000000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  align-items: center;
  justify-content: center;
}

.image-modal.show {
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 95%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 120px);
  background: transparent; /* Ensure transparent background */
}

#modal-image {
  max-width: 90vw; /* 90% of viewport width */
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0; /* Removed rounded corners */
  box-shadow: none; /* Removed shadow */
  transform: scale(0.95);
  transition: transform 0.3s ease;
  background: transparent; /* Ensure transparent background */
}
.image-modal .modal-content {
  max-width: 90%; /* Max width of the enlarged image */
  max-height: 90%; /* Max height of the enlarged image */
  border-radius: 10px;
  object-fit: contain;
  background: none;
  cursor: pointer; /* Cursor changes to pointer */
  border: #707070 solid 0.5px;
}

.image-modal.show #modal-image {
  transform: scale(1);
}

/* Navigation buttons */
.modal-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(20, 43, 84, 0.5);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  opacity: 0.7; /* Lower default opacity */
}

.modal-nav-button:hover {
  background-color: var(--brown);
  transform: translateY(-50%) scale(1.1);
  opacity: 1; /* Full opacity on hover */
}

.prev-button {
  left: 20px; /* Moved inside the image area */
}

.next-button {
  right: 20px; /* Moved inside the image area */
}

/* Remove close button styles as it's no longer needed */

/* Image counter */
.modal-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(20, 43, 84, 0.5);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: var(--font-mons);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .modal-nav-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .prev-button {
    left: 10px;
  }

  .next-button {
    right: 10px;
  }

  .modal-counter {
    bottom: -35px;
  }

  #modal-image {
    max-height: 75vh;
  }
}
/* ===================================inspection/map==================================== */

.location_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.7rem;
  padding: 2rem 6%;
  margin-bottom: 5rem;
}
.map-container {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.map-container iframe {
  border-radius: 8px;
}
.form_container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.form_container header {
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 600;
  text-align: center;
}
.form_container .form {
  font-family: var(--font-mons);
  margin-top: 30px;
}
.form .input-box {
  width: 100%;
  margin-top: 20px;
}
.input-box label {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.8rem;
}
.form :where(.input-box input, .select-box) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}
.input-box input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.form .column {
  display: flex;
  column-gap: 15px;
}
.form :where(.gender input, .gender label) {
  cursor: pointer;
}
.address :where(input, .select-box) {
  margin-top: 15px;
}
.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 1rem;
}
.form button {
  height: 48px;
  width: 100%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--blue);
  border-radius: 8px;
}
.form button:hover {
  background: var(--brown);
  color: var(--blue);
}
/*Responsive*/
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }
  .form :where(.gender-option, .gender) {
    row-gap: 15px;
  }
}

/* ===================================proxy/map==================================== */
.proxy_map-container {
  position: relative;
  width: 100%;
  height: 85vh;
  background-image: url(../Pictures/proxy_map/home-3-rev-map-background.jpg);
  overflow: hidden;
  margin-bottom: 5rem;
  margin-left: auto; /* Center horizontally */
  margin-right: auto; /* Center horizontally */
}

.icon_text_map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--brown);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15rem;
  text-align: center;
  word-wrap: break-word;
  padding: 4px 6px;
  max-width: 150px; /* Limit width to force wrapping */
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word; /* Additional property for better breaking */
  overflow-wrap: break-word; /* For broader browser support */
}

.icon_text_map img {
  width: 4rem;
  height: 4rem;
  /* margin-bottom: .5rem; */
}
.icon_text_map .center-icon {
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: transform 0.3s ease-in-out;
  animation: pulse 2s infinite ease-in-out;
}
.icon_text_map .center-icon:hover {
  transform: translate(-50%, -50%) scale(1.2); /* Enlarge on hover */
}

.marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--brown);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(200, 123, 75, 0.6);
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: pulse-ring 2s infinite ease-in-out;
}
.marker:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(200, 123, 75, 0.9);
}
.marker-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  word-wrap: break-word;
  padding: 4px 6px;
}

.marker-name {
  color: #fff; /* White text for the name */

  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15rem;
}

.marker-distance {
  color: var(--brown); /* Brown text for distance */
  font-size: 0.8rem;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 197, 157, 0.8);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(239, 197, 157, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 197, 157, 0);
  }
}

@media screen and (max-width: 768px) {
  .proxy_map-container {
    height: 75vh; /* Ensure height is set */
  }
  .marker {
    width: 2vw;
    height: 2vw;
    min-width: 10px;
    min-height: 10px;
  }

  .marker-label {
    font-size: 0.85rem;
    white-space: wrap;
  }
  .marker-name {
    color: #fff; /* White text for the name */
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
  }

  .marker-distance,
  .center-text {
    color: var(--brown); /* Brown text for distance */
    font-size: 0.7rem;
  }
}

/* ===================================sticky header==================================== */
.proj_mini_info_sec {
  transition: all 0.3s ease;
  z-index: 1000;
}

.proj_mini_info_sec.sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--off-white);
}

.proj_mini_info_sec.snapped {
  position: static;
  box-shadow: none;
}

.proj_mini_info {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--off-white);
  max-width: 100%;
  margin: 0 auto;
}

.proj_mini_info_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proj_mini_info_box h1 {
  color: var(--black);
  font-weight: 100;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.proj_mini_info_box p {
  font-size: 0.9rem;
  color: var(--black);
  opacity: 0.9;
  margin: 0;
}
.proj_mini_info_box_btn_btn {
  /* background-color: var(--brown); */
  color: var(--black);
  font-weight: 100;
  border-radius: 2px;
  border: solid var(--blue) 1px;
  font-family: var(--font-gara);
  cursor: pointer;
  text-transform: uppercase;
  padding: 10px 12px;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

/* Responsive text sizing for large desktop screens */
@media screen and (min-width: 1400px) {
  .proj_mini_info {
    padding: 1.5rem 3rem;
  }

  .proj_mini_info_box h1 {
    font-size: 1.2rem;
  }

  .proj_mini_info_box p {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1600px) {
  .proj_mini_info_box h1 {
    font-size: 1.4rem;
  }

  .proj_mini_info_box p {
    font-size: 1.1rem;
  }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .proj_mini_info {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }

  .proj_mini_info_box {
    flex: 1;
    min-width: 120px;
  }

  .proj_mini_info_box h1 {
    font-size: 0.9rem;
  }

  .proj_mini_info_box p {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .proj_mini_info_box {
    width: 100%;
  }
}

/* Placeholder for the section's natural position */
.proj_mini_info_placeholder {
  height: 0;
  visibility: hidden;
  transition: height 0.3s ease;
}

.proj_mini_info_placeholder.active {
  height: 100px; /* Approximate height of the section */
}

@media screen and (min-width: 1400px) {
  .proj_mini_info_placeholder.active {
    height: 120px;
  }
}
