/* Common Css Start */

/* Secondary button css start */
/* Styles for the "Read More" button */
.button-hover .elementor-button {
  position: relative;
  overflow: hidden;
}
.button-hover .elementor-button span {
  position: relative;
  z-index: 1;
}
.button-hover .elementor-button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #000;
  transition: width 0.3s ease-out;
  z-index: 0;
}
/* Hover effect for the button */
.button-hover .elementor-button:hover::before {
  width: 100%;
}
.button-hover .elementor-button:hover span {
  color: #fff;
  transition: color 0.2s 0.1s;
}
/* Secondary button css end */

/* Common Css end  */

/* Press and News page Start */
.press-news img,
.press-news-single img {
  aspect-ratio: 3/2 !important;
  object-fit: cover !important;
}
.press-news h5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

/* Press and News page End */

/* Terms & Conditions and Privacy Policy Css Start  */
.single-text-pages ul {
  padding-left: 18px;
}
/* Terms & Conditions and Privacy Policy Css End */

/* Footer */
.alishan-footer-form-btn
  .elementor-form-fields-wrapper
  .elementor-field-group.elementor-field-type-submit {
  align-items: flex-start !important;
}
/* Footer */

/* Header */
.popup-search .e-search-form button.e-search-submit {
  --e-search-submit-margin-inline-start: 0px !important;
}
/* Header */

/* Contact */

.page-id-1336 .alishaan-contact-form {
  width: 100% !important;
}
.contact-number li a {
  color: #000;
}
.contact-number li a:hover {
  color: #08683a;
}

.page-id-1336 .alishaan-contact-form .elementor-widget-container {
  background: #fff !important;
  padding: 0px !important;
}
.page-id-1336 .alishaan-contact-form .elementor-field-label {
  color: #000 !important;
  font-weight: 500 !important;
}
.page-id-1336 .alishaan-contact-form input[type="text"],
.page-id-1336 .alishaan-contact-form input[type="email"],
.page-id-1336 .alishaan-contact-form input[type="tel"],
.page-id-1336 .alishaan-contact-form #form-field-message,
.page-id-1336 .alishaan-contact-form #form-field-select_country,
.page-id-1336 .alishaan-contact-form .selection .select2-selection,
.page-id-1336 .alishaan-contact-form .elementor-form input#form-field-mobile {
  background: #fff !important;
  color: #000 !important;
}

.select2.select2-container {
  width: 100% !important;
}
.page-id-1336 .alishaan-contact-form button[type="submit"] {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #58595b !important;
  font-weight: 500 !important;
  padding: 5px 32px !important;
}
.page-id-1336 .alishaan-contact-form .selection .select2-selection:focus {
  box-shadow: unset !important;
}
.page-id-1336
  .alishaan-contact-form
  .elementor-field-group
  .elementor-field-textual:focus {
  box-shadow: unset;
  outline: 0;
}
.select2-container--default .select2-results__option--selected {
  background-color: #1a1a1a;
}
.select2-container > .select2-dropdown {
  z-index: 22 !important;
}
.page-id-1336 .elementor-select-wrapper .select-caret-down-wrapper svg{
  fill: #000 !important;
}
/* Contact */

/* Home */
.alishaan-contact-form
  .elementor-form
  .select2
  .select2-selection.select2-selection--single {
  border-right: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  padding: 8px 0 !important;
}

.alishaan-contact-form .elementor-form .elementor-field-type-number label {
  color: transparent !important;
}

.alishaan-contact-form
  .elementor-form
  .elementor-field-type-phone_number_prefix_selector_form_field {
  padding-right: 0 !important;
}
.alishaan-contact-form .elementor-form .elementor-field-type-tel {
  padding-left: 0 !important;
}
.alishaan-contact-form .elementor-form input#form-field-mobile {
  border-left: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.alishaan-contact-form .elementor-form .elementor-field-type-number {
  padding-left: 0 !important;
}

.alishaan-contact-form
  .elementor-form
  .select2-container
  .select2-selection
  img {
  width: 35px !important;
  margin-right: 40px !important;
  height: 20px !important;
  object-fit: contain !important;
  box-shadow: none;
}

.alishaan-contact-form
  .elementor-form
  .select2.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-width: 5px 5px 0 5px !important;
  margin-top: 5px !important;
}

.alishaan-contact-form
  .elementor-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  left: 75px !important;
}

.alishaan-contact-form
  .elementor-form
  .elementor-field-group
  .elementor-field-textual {
  border: 1px solid #69727d !important;
}
#page-id-19 .select2-container > .select2-dropdown {
  width: 280px !important;
}

/* ---------- */
.button-hover-home button.elementor-button.elementor-size-sm {
  position: relative !important;
  overflow: hidden !important;
}
.button-hover-home button.elementor-button.elementor-size-sm span {
  position: relative !important;
  z-index: 1 !important;
}
.button-hover-home button.elementor-button.elementor-size-sm::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 0% !important;
  background-color: #ffffff !important;
  transition: width 0.3s ease-out !important;
  z-index: 0 !important;
}
/* Hover effect for the button */
.button-hover-home button.elementor-button.elementor-size-sm:hover::before {
  width: 100% !important;
}
.button-hover-home button.elementor-button.elementor-size-sm:hover span {
  color: #000000 !important;
  transition: color 0.2s 0.1s !important;
}

/* ---------- */

/* Home */

/* Portfolio */

.interior-slider
  .elementor-slides-wrapper
  .elementor-swiper-button.elementor-swiper-button-prev,
.interior-slider
  .elementor-slides-wrapper
  .elementor-swiper-button.elementor-swiper-button-next {
  border: 1px solid white;
  border-radius: 100px;
  padding: 3px;
}

.world-class-icon .elementor-icon-box-wrapper .elementor-icon {
  border-color: #fff !important;
}
.world-class-icon .elementor-icon-box-wrapper:hover .elementor-icon {
  border-color: #08683a !important;
}
h5.eael-progressbar-title {
  margin-bottom: 0;
}

/* Portfolio */

/* --- Main Calculator Wrapper --- */
.calculator-container {
  /* position: relative;
            width: 100%;
            max-width: 1400px;
            background-image: url('/wp-content/uploads/2025/07/Web-page_Portfolio-copy.pdf-image-005.jpg');
            background-size:auto ;
            background-position: bottom;
            overflow: hidden; */
  color: #ffffff;
  font-family: "Montserrat";
}

/* .calculator-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.65);
            z-index: 1;
        } */

.calculator-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 50px;
  padding: 80px 50px;
}

.calculator-inputs,
.calculator-results {
  flex: 1;
}

/* --- Left Side: Input Fields --- */
.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 60px; /* Vertical spacing between input groups */
}

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

.label-wrapper {
  display: flex;
  flex-direction: column;
}

.label-wrapper label {
  font-size: 1rem;
  font-weight: 500;
}
.label-wrapper .label-subtitle {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 2px;
}

/* This container holds the slider and text box side-by-side */
.controls {
  /* display: flex; */
  align-items: center;
  gap: 20px;
  position: relative;
}

.text-input {
  background-color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 12px 15px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  min-width: 150px;
  font-family: "montserrat", sans-serif;
  text-align: left;
}

/* --- Custom Range Slider Styling --- */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #ffffff;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: background 0.1s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
  /* border: 3px solid #ffffff; */
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
  border: 3px solid #ffffff;
}

/* --- Right Side: Results & Chart --- */
.calculator-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
}

.legend {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 30px;
  max-width: 300px;
}

.calculator-inputs input[type="text"] {
  position: absolute;
  top: -50px;
  left: 50%;
  width: 50%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.legend-color {
  width: 50px;
  height: 12px;
}
.principal-color {
  background-color: #08683a;
  border: 1px solid white;
}
.interest-color {
  background-color: #ffffff;
}

.doughnut-chart {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  transition: background 0.3s ease;
}

/* This pseudo-element creates the inner hole. Increasing its size makes the ring thinner. */
.doughnut-chart::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%; /* Increased from 80% to match the image's thinner ring */
  height: 60%; /* Increased from 80% to match the image's thinner ring */
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
}

.results-summary {
  margin-top: 40px;
  text-align: right;
  width: 100%;
  max-width: 500px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1rem;
  text-align: left;
}
.summary-item span:first-child {
  opacity: 0.9;
}
.summary-item span:last-child {
  font-weight: 600;
}

/* --- Responsive Design --- */
@media (max-width: 920px) {
  .calculator-content {
    flex-direction: column;
    padding: 30px;
    gap: 40px;
    margin: 50px 0;
  }
  .calculator-results {
    padding-top: 0;
    align-items: center; /* Center results on smaller screens */
  }
}
@media (max-width: 480px) {
  .calculator-content {
    padding: 25px 20px;
  }
  .controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    display: flex;
  }
  .text-input {
    width: 100%;
  }
  .results-summary {
    text-align: left;
  }
  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 15px;
  }
  .calculator-inputs input[type="text"] {
    position: static;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .select2-container > .select2-dropdown {
    width: 280px !important;
  }
}



/* .hero-pin-wrapper {
      position: relative;
      width: 100%;
      min-height: 100vh; 
    }

    .hero-pin {
      position: relative;
      width: 100%;
      min-height: 100vh; 
      height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    
    }

    .hero-logo {
      width: 40vw; 
      height: auto;
      transform-origin: center center;
      will-change: transform;
    }

    .next-section {
      min-height: 100vh;
      background: #111;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    } */

    .hero-pin-wrapper {
      position: relative;
      width: 100% !important;
      min-height: 100vh !important; /* ensures no extra space */
      padding: 0px !important;
      
    }

    .hero-pin {
      position: relative;
      z-index: 3 !important;
      width: 100% !important;
      min-height: 100vh !important; /* ensures no extra space */
      height: 100vh !important;
      overflow: hidden;
      display: flex !important;
      align-items: flex-end !important;
      justify-content: center !important;
      padding: 0px !important;
    
    }

    .hero-logo {
      width: 40vw; /* starting size */
      height: auto;
      transform-origin: center center;
      will-change: transform;
     
    }
    .page-content{
      overflow: hidden;
    }
    .banner-text {
        position: absolute !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .next-section {
      min-height: 100vh;
      background: #111;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    h1 {
      position: relative;
      z-index: 3;
    }

    .hero-logo {
      position: relative;
      z-index: 2;
    }



    .popup-overlay{
      display: none !important;
    }

    .popup-overlay.active{
      display: block !important;
    } 

    .close-icon{
      cursor: pointer;
    }
    .hero-logo ,.hero-logo  svg {
   shape-rendering: geometricPrecision; /* or crispEdges for icon-like artwork */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}