
/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
.hero-banner {display: none;}

.hero {
  position: relative;
  background-image: var(--gradient);
  color: var(--neutral-90);
  padding-block: 130px 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-title {color: var(--neutral-100);}

.hero-text {margin-block: 16px 32px;}

.hero .bg-pattern {
  position: absolute;
  top: 50%;
  min-height: 100%;
  min-width: 100%;
  right: 0;
  translate: 0 -50%;
  min-height: 100%;
  pointer-events: none;
  z-index: -2;
}



/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/
.section .container {
  margin-top: 15rem;
}

.feature-banner {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-extra-large);
}

.feature-content {padding: 24px 16px 0;}

.feature-content .feature-text {margin-block: 16px;}

.feature-text .feature-item {color: var(--neutral-30);}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  color: var(--primary-100);
  font-size: 2.2rem;
}




/*-----------------------------------*\
  #VIDEO
\*-----------------------------------*/
.video_section {
  background-color: var(--body-color);
  margin-top: -10rem !important;
  padding-bottom: 15rem !important;
}

.video_property-container {
  box-shadow: 0 0.5rem 1rem -0.15rem hsla(0, 0%, 0%, 0.10);
  border: 2px solid var(--primary-color-light2);
  background-color: var(--primary-color-light2);
  border-radius: 1.5rem;
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
  justify-content: center;
  overflow: hidden;
}

.div-video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.div-video video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}



/*-----------------------------------*\
  #FORM
\*-----------------------------------*/
.btn {
  cursor: pointer;
}

.form {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  height: 100vh;
  width: 90%;
  letter-spacing: var(--traking-p-05);
}

.form-container {
  display: flex;
  padding: 1rem;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--neutral-90);
  border-radius: var(--radius-large);
}

.form-sidebar {
  background-image: url(../images_contact/formimg2.webp);
  border-radius: var(--radius-medium);
  background-repeat: no-repeat;
  width: 400px;
  min-height: 600px;
  height: 100%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.circle {
  width: 50px;
  height: 50px;
  border: 2px solid var(--neutral-90);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-90);
  font-weight: var(--weight-bold);
}

.active .circle {
  background-color: var(--primary-20);
  color: var(--primary-100);
  border-color: var(--primary-100);
}

.err {
  border: 2px solid var(--error-100);
}

.step {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.step-content span {
  text-transform: uppercase;
  color: var(--primary-100);
  font-size: 13px;
}

.step-content b {
  text-transform: uppercase;
  color: var(--neutral-100);
}

.stp {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stp .form-header {
  margin-bottom: 2rem;
  line-height: 2.5rem;
}

.form-header {
  color: var(--primary-100);
}

.form-header .exp {
  color: var(--primary-20);
}

/* step 1 */
.step-1 {
  display: flex;
  width: 90%;
  margin: 4rem;
}

.step-1 form {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 1rem;
}

.label {
  color: var(--primary-20);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-1 form input {
  padding: 1rem;
  border: 1.5px solid var(--neutral-90);
  border-radius: 7px;
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.step-1 form input:focus {
  border: 1.5px solid var(--primary-20);
  transition: var(--transition-duration-smooth);
}

form input::placeholder {
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.form .error {
  display: none;
  color: var(--error-100);
  font-size: 1rem;
  font-weight: var(--weight-bold);
}

/* step 2 */
.step-2 {
  display: none;
  width: 80%;
  margin: 4rem;
}

.step-2 form {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 1rem;
}

.label {
  color: var(--primary-20);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-2 form input {
  padding: 1rem;
  border: 1.5px solid var(--neutral-90);
  border-radius: 7px;
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.step-2 form input:focus {
  border: 1.5px solid var(--primary-20);
  transition: var(--transition-duration-smooth);
}

form input::placeholder {
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}




.step-2 form select {
  padding: 1rem;
  border: 1.5px solid var(--neutral-90);
  border-radius: 7px;
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.step-2 form select:focus {
  border: 1.5px solid var(--primary-20);
  transition: var(--transition-duration-smooth);
}

form select::placeholder {
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}




.form .error {
  display: none;
  color: var(--error-100);
  font-size: 1rem;
  font-weight: var(--weight-bold);
}

/* step 3 */
.step-3 {
  display: none;
  width: 80%;
  margin: 4rem;
}

.step-3 form {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 1rem;
}

.label {
  color: var(--primary-20);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-3 form input {
  padding: 1rem;
  border: 1.5px solid var(--neutral-90);
  border-radius: 7px;
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.step-3 form input:focus {
  border: 1.5px solid var(--primary-20);
  transition: var(--transition-duration-smooth);
}

form input::placeholder {
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}




.step-3 form select {
  padding: 1rem;
  border: 1.5px solid var(--neutral-90);
  border-radius: 7px;
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.step-3 form select:focus {
  border: 1.5px solid var(--primary-20);
  transition: var(--transition-duration-smooth);
}

form select::placeholder {
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}




.step-3 form textarea {
  padding: 1rem;
  border: 1.5px solid var(--neutral-90);
  border-radius: 7px;
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}

.step-3 form textarea:focus {
  border: 1.5px solid var(--primary-20);
  transition: var(--transition-duration-smooth);
}

form textarea::placeholder {
  font-weight: var(--weight-semiBold);
  font-size: 1.5rem;
}




.form .error {
  display: none;
  color: var(--error-100);
  font-size: 1rem;
  font-weight: var(--weight-bold);
}

/* step 4 */
.step-4 {
  display: none;
  width: 80%;
  margin: 4rem;
}

.label {
  color: var(--primary-20);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-4 .enquiry-box{
  border-radius: var(--radius-large);
  border: 2px solid var(--neutral-90);
  padding: 2rem;
  font-size: 1.5rem;
  color: var(--neutral-30);
}

.enquiry-box .added-summary {
  display: flex;
  flex-direction: row;
  gap: .2rem;
}

.enquiry-box p {
  margin-bottom: .5rem;
}




/* step 5 */
.step-5 {
  display: none;
  align-items: center;
  width: 90%;
  text-align: center;
  justify-content: center;
  margin: auto;
  padding: 4rem;
}

.step-5 .title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.step-5 .button {
  display: none;
}





/* Target the intlTelInput container */
.iti {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Style the input field itself */
.iti__input {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Style the flag dropdown container */
.iti__flag-container {
  width: 50px; /* Adjust as needed */
  height: 50px; /* Adjust as needed */
  margin-right: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
}

/* Style the selected flag image */
.iti__selected-flag {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

/* Style the dropdown list of countries */
.iti__country-list {
  max-height: 200px; /* Set a maximum height, and the list will become scrollable */
  overflow-y: auto;
  width: auto; /* Adjust as needed */
}

/* Style the individual country items in the list */
.iti__country {
  padding: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Style the country name in the list */
.iti__country-name {
  margin-left: 10px;
}

/* Add styles when hovering over a country item */
.iti__country:hover {
  background-color: #f0f0f0;
}

/* Add styles when a country item is selected */
.iti__highlight {
  background-color: #f0f0f0;
}




@media screen and (max-width: 800px) {
  .step-1, .step-2, .step-3, .step-4, .step-5 {
    margin-left: 1rem;
    margin-right: 0;
  }

  .step-5 .title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .form {
    height: 800px;
  }

  .form-sidebar {
    width: 50px;
    height: 100%;
    padding: 4rem 1rem;
    border-radius: var(--radius-medium);
  }
  
  .circle {
    width: 30px;
    height: 30px;
    border: 1px solid var(--neutral-90);
  }

  .step-content {
    display: none;
  }

  .step-content span {
    font-size: 9px;
  }
}





/*-----------------------------------*\
  #LOCATIONS
\*-----------------------------------*/
.location .container {
  margin-top: 10rem;
  padding: 0px 30px 0 30px;
}

.location .section-subtitle {color: var(--primary-100);}

.location .section-title {margin-block: 12px;}

.location .title-wrapper {
  display: grid;
  gap: 16px;
}

.location-list {
  display: grid;
  gap: 16px;
  cursor: pointer;
}

.location-card {
  position: relative;
  height: 260px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.location-card:where(:hover, :focus-visible) {scale: 0.99;}

.location-card .overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000000 33.33%, #000000cc 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px;
}




/* Initially, the lightbox is hidden */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  display: block;
  max-width:90%;
    max-height:90%;
    position:absolute;
    top:7rem; left:0; right:0; bottom:0;
    margin:auto;
  justify-content: center;
  border-radius: var(--radius-large);
}



/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/
/* RESPONSIVE FOR LARGER THAN 768PX SCREEN */
@media (min-width: 470px) {

  /* LOCATION */

  .location-list {grid-template-columns: 1fr 1fr;}
 
}



/* RESPONSIVE FOR LARGER THAN 768PX SCREEN */
@media (min-width: 768px) {

   /* HERO */
   .hero {padding-block: 160px 100px;}


   /* PROPERTY */
   .property {padding-block-start: 80px;}

   .property .section-text {margin-block-end: 0;}



   /* FEATURE */
   .feature-content {padding-block-start: 32px;}

   .feature-content .feature-text {
    margin-block: 16px 24px;
    line-height: 28px;
   }

   .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
   }



   /* VIDEO */
   .video-card {height: 400px;}

   .play-btn {
    width: 96px;
    height: 96px;
   }

   .play-btn .material-symbols-rounded {font-size: 4.8rem;}



   /* LOCATION */
   .location .section-title {margin-block: 16px;}

   .location-list {grid-template-columns: 1fr 1fr 1fr;}
  
}




/* RESPONSIVE FOR LARGER THAN 992PX SCREEN */
@media (min-width: 992px) {

  /* HERO */
  .hero .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .hero-content {grid-column: 1 / 7;}

  .hero-banner {
    display: block;
    position: absolute;
    bottom: 0;
    left: 40%;
    max-width: 720px;
    z-index: -1;
  }




  /* PROEPRTY */
  .property .section-text {max-width: 640px;}




  /* FEATURE */
  .feature .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .feature-content {padding: 40px;}

  .feature-list {grid-template-columns: 1fr;}

  .feature-banner {aspect-ratio: auto;}

  .feature-2 .feature-banner {order: 1;}


}



/* RESPONSIVE FOR LARGER THAN 1440PX SCREEN */
@media (min-width: 1440px) {

 /* HERO */
 .hero .container {
  min-height: 580px;
  align-items: center;
}

.hero-content {grid-column: 1 / 6;}

.hero-banner {
  max-width: 820px;
  width: 100%;
  left: calc(50% - 108px);
}




/* FEATURE */
.feature-content {padding: 60px;}

.feature-list {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* LOCATION */
.location .section-title {max-width: 820px;}

.location-list {grid-template-columns: repeat(12, 1fr);}

.location-card:where(:nth-child(1), :nth-child(6)) {
  grid-column: span 3;
}

.location-card:where(:nth-child(3), :nth-child(5)) {
  grid-column: span 4;
}

.location-card:where(:nth-child(2), :nth-child(4)) {
  grid-column: span 5;
}

}
