:root {
  --heading-color: #ff6600; /* Orange */
  --text-color: #333;
  --bg-color: #fff;
  --hover-bg: #f8f9fa;
}

.property-card,
.location-card {
  background-color: var(--bg-color);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.property-card:hover,
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.property-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.property-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 10px;
}

.price-range,
.location-info {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-top: 5px;
}

.location-card {
  border: 1px solid #e0e0e0;
  font-weight: 600;
}

.location-name {
  color: var(--heading-color);
  font-size: 1.1rem;
}

.sale-rent {
  font-size: 0.9rem;
  color: #17a2b8;
}

@media (max-width: 576px) {
  .property-grid,
  .location-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on mobile */
  }
}

.property-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.modal-content {
  border-radius: 15px;
  animation: fadeIn 0.3s ease-in-out;
}

/* Button Hover Effects */
.btn:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease-in-out;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#enquiryForm input::placeholder,
select::placeholder {
  color: #000000;
}

.animate-modal {
  animation: fadeInUp 0.5s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.propertyModal img {
  animation: zoomIn 0.6s ease-in-out;
}

.propertyModal img:hover {
  transform: translateY(-5px);
}
/*       video               */

.view {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.vertical-line {
  position: absolute;
  width: 3px;
  height: 120px;
  background-color: rgba(0, 0, 0, 0.5);
  animation: moveVertical 2s linear infinite;
}

.horizontal-line {
  position: absolute;
  width: 120px;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.5);
  animation: moveHorizontal 2s linear infinite;
}

.vertical-line:nth-child(1) {
  left: 5%;
  animation-duration: 2.8s;
}
.vertical-line:nth-child(2) {
  left: 15%;
  animation-duration: 3.2s;
}
.vertical-line:nth-child(3) {
  left: 30%;
  animation-duration: 3s;
}
.vertical-line:nth-child(4) {
  left: 45%;
  animation-duration: 2.7s;
}
.vertical-line:nth-child(5) {
  left: 60%;
  animation-duration: 2.9s;
}
.vertical-line:nth-child(6) {
  left: 75%;
  animation-duration: 3.1s;
}
.vertical-line:nth-child(7) {
  left: 90%;
  animation-duration: 2.6s;
}

.horizontal-line:nth-child(8) {
  top: 10%;
  animation-duration: 2.8s;
}
.horizontal-line:nth-child(9) {
  top: 25%;
  animation-duration: 3.2s;
}
.horizontal-line:nth-child(10) {
  top: 40%;
  animation-duration: 3s;
}
.horizontal-line:nth-child(11) {
  top: 55%;
  animation-duration: 2.7s;
}
.horizontal-line:nth-child(12) {
  top: 70%;
  animation-duration: 2.9s;
}
.horizontal-line:nth-child(13) {
  top: 85%;
  animation-duration: 3.1s;
}

@keyframes moveVertical {
  from {
    transform: translateY(-150%);
    opacity: 0.7;
  }
  to {
    transform: translateY(150vh);
    opacity: 0;
  }
}

@keyframes moveHorizontal {
  from {
    transform: translateX(-150%);
    opacity: 0.7;
  }
  to {
    transform: translateX(150vw);
    opacity: 0;
  }
}

.video-container {
  height: 350px; /* Increased height to fit new elements */
  width: 300px;
  margin: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out,
    box-shadow 0.4s ease-out;
  background: white;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container video {
  width: 100%;
  height: 60%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 10px;
}

.video-container h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.video-container p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  padding: 0 10px;
}

.book-btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.book-btn:hover {
  background-color: #e65c00;
}

.video-container:hover {
  transform: scale(1.1);
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.7);
}

.video-container:hover video {
  transform: scale(1.1);
}

.video-container.show {
  opacity: 1;
  transform: scale(1);
}
.book-btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.book-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.4s ease;
}

.book-btn:hover::before {
  left: 100%;
}

.book-btn:hover {
  background-color: #e65c00;
  transform: scale(1.05);
  box-shadow: 0px 5px 15px rgba(255, 102, 0, 0.5);
}

/*       video               */

.animated-btn {
  font-size: 16px;
  color: white !important;
  background-color: #ff5722;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.testimonial-item {
  border: 1px solid #ee9208;
  padding: 20px 20px;
}
.animated-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-45deg);
  animation: slide 2s infinite linear;
}

@keyframes slide {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

main {
  position: relative;
  width: calc(min(90rem, 90%));
  margin: 0 auto;
  min-height: 60vh !important;
  column-gap: 3rem;
  padding-block: min(1vh, 3rem) !important;
}

.bg {
  position: fixed;
  top: -4rem;
  left: -12rem;
  z-index: -1;
  opacity: 0;
}

.bg2 {
  position: fixed;
  bottom: -2rem;
  right: -3rem;
  z-index: -1;
  width: 9.375rem;
  opacity: 0;
}

main > div span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

main > div h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background-color: #005baa;
  background-image: linear-gradient(45deg, #005baa, #000000);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

main > div hr {
  display: block;
  background: #005baa;
  height: 0.25rem;
  width: 6.25rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

main > div p {
  line-height: 1.6;
  font-size: large;
}

main a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #717171;
  font-weight: 500;
  background: #fff;
  border-radius: 3.125rem;
  transition: 0.3s ease-in-out;
}

main > div > a {
  border: 2px solid #c2c2c2;
  margin-top: 2.188rem;
  padding: 0.625rem 1.875rem;
}

.swiper {
  width: 100%;
  padding-top: 3.125rem;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-pagination {
  bottom: 1.25rem !important;
}

.swiper-slide {
  width: 18.75rem;
  height: 28.125rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
}

.swiper-slide h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  padding: 0 0 0 1.563rem;
  text-transform: uppercase;
}

.swiper-slide p {
  color: #dadada;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding: 0 1.563rem;
  line-height: 1.6;
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiper-slide a {
  margin: 1.25rem 1.563rem 3.438rem 1.563rem;
  padding: 0.438em 1.875rem;
  font-size: 0.9rem;
}

.swiper-slide a:hover {
  color: #005baa;
}

.swiper-slide div {
  display: none;
  opacity: 0;
  padding-bottom: 0.625rem;
}

.swiper-slide-active div {
  display: block;
  opacity: 1;
}

.swiper-slide--one {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-8.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--two {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://asnrealtors.com/img/project2.webp") no-repeat 50% 50% / cover;
}

.swiper-slide--three {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://png.pngtree.com/thumb_back/fw800/background/20220312/pngtree-hd-photography-of-real-estate-buildings-image_995088.jpg")
      no-repeat 50% 50% / cover;
}

.swiper-slide--four {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://asnrealtors.com/img/project1.webp") no-repeat 50% 50% / cover;
}

.swiper-slide--five {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://asnrealtors.com/img/about1.jpg") no-repeat 50% 50% / cover;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

@media screen and (min-width: 48rem) {
  main {
    display: flex;
    align-items: center;
  }
  .bg,
  .bg2 {
    opacity: 0.1;
  }
}

@media screen and (min-width: 93.75rem) {
  .swiper {
    width: 85%;
  }
}

#aboutDiv {
  width: 100%;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
  animation: pulseText 3s infinite ease-in-out;
}

/* LUXURY 1 */
.swiper-slide--onee {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-1.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--twoo {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-2.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--threee {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-3.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fourr {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-4.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fivee {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-5.jpg") no-repeat 50% 50% / cover;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

/* luxury images  2 */

.swiper-slide--oneluxury1 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/Luxuyslide1(1).jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--twoluxury1 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/Luxuyslide1(2).jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--threeluxury1 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/Luxuyslide1\(3\).png") no-repeat 50% 50% / cover;
}

.swiper-slide--fourluxury1 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/Luxuyslide1\(4\).jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fiveluxury1 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/Luxuyslide1\(5\).jpg") no-repeat 50% 50% / cover;
}

/* luxury images  2 */

.swiper-slide--oneluxury2 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-1.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--twoluxury2 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-2.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--threeluxury2 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-3.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fourluxury2 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-4.jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fiveluxury2 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../img/image-5.jpg") no-repeat 50% 50% / cover;
}

/* <================================= Villa 1 ==========================> */
.swiper-slide--onevilla {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa1\(1\).webp") no-repeat 50% 50% / cover;
}

.swiper-slide--twovilla {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa1\(2\).png") no-repeat 50% 50% / cover;
}

.swiper-slide--threevilla {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa1\(3\).jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fourvilla {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa1\(4\).jpg") no-repeat 50% 50% / cover;
}

.swiper-slide--fivevilla {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa1\(5\).jpg") no-repeat 50% 50% / cover;
}

/* <================================= Villa 2 ==========================> */
.swiper-slide--onevilla1 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa2\(1\).webp") no-repeat 50% 50% / cover;
}

.swiper-slide--twovilla2 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa2\(2\).jpeg") no-repeat 50% 50% / cover;
}

.swiper-slide--threevilla3 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa2\(3\).webp") no-repeat 50% 50% / cover;
}

.swiper-slide--fourvilla4 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa2\(4\).jpeg") no-repeat 50% 50% / cover;
}

.swiper-slide--fivevilla5 {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("../onlineimage/villa2\(5\).webp") no-repeat 50% 50% / cover;
}