/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/




/* ===== SWIPER BASE ===== */
.realestate-result-swiper {
    overflow: visible;
}

.realestate-result-swiper .swiper-wrapper {
    align-items: stretch;
}

/* .realestate-result-swiper .swiper-slide {
} */
.realestate-result-swiper .swiper-slide {
    width: auto !important;
    display: flex;
    justify-content: center;
}

/* ===== CARD ===== */
.result-card {
    display: flex;
    background-image: radial-gradient(at top right, #1F1F1F 0%, #6EBFF447 100%);
    border-radius: 20px;
    height: 100%;
    align-items: center;
}

   .result-title {
        color: #A100C8 !important;
     
    }

/* ===== IMAGE ===== */
.result-image {
    flex-shrink: 0;
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Video Swiper Base ===== */

.realestate-video-swiper {
    width: 100%;
    padding: 60px 0;
}

.realestate-video-swiper .swiper-wrapper {
    align-items: center;
}

.realestate-video-swiper .swiper-slide {
    width: auto !important;
    display: flex;
    justify-content: center;
}

/* ===== Video Card ===== */

.video-card {
    width: 780px;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(at top right, #1F1F1F 0%, #6EBFF447 100%);
    padding: 24px;
}

/* ===== Video Wrapper ===== */

.video-wrapper {
    position: relative;
    width: 100%;
    /* padding-top: 56.25%; 16:9 */
    border-radius: 14px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ===== Title ===== */

.video-title {
    margin-top: 16px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
}



.realestate-video-swiper .result-card {/* Glass background */
    background: radial-gradient(
    90% 140% at 15% 20%,
    rgba(161, 0, 200, 0.20) 0%,
    rgba(161, 0, 200, 0.05) 70%,
    rgba(122, 0, 146, 0) 100%
  );
    backdrop-filter: blur(52px);
    -webkit-backdrop-filter: blur(52px);
    /* background-color: rgba(20, 6, 30, 0.55); */
}

.realestate-video-swiper .result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2.2px;
  border-radius: 24px;
  pointer-events: none;
  background: radial-gradient(
      101% 220% at -15% -15%,
      #98F9FF 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      80% 210% at 110% 115%,
      #EABFFF 0%,
      rgba(135, 38, 183, 0) 127%
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.realestate-video-swiper .video-wrapper {
  position: relative;
  width: 280px;
  min-width: 280px;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}


.realestate-video-swiper .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.55)
  );
} */
.realestate-video-swiper .result-content {
  flex: 1;
  color: #fff;
  text-align: center;
}

.realestate-video-swiper .result-content h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.realestate-video-swiper .result-content p {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

@media (max-width: 768px) {
  .result-card {
    flex-direction: column;
  }

  .video-wrapper {
    width: 100%;
    height: 420px;
  }
}


/* ===== Responsive ===== */

/* ===== DESKTOP (FIGMA MATCH) ===== */
@media (min-width: 1200px) {

    .result-card {
        width: 780px;       /* 🔥 Figma width */
        height: 360px;      /* 🔥 Equal height */
        padding: 24px;
        gap: 24px;
    }
    .realestate-video-swiper .result-card{
        height: auto;
        
    }
    .result-image {
        width: 300px;
        height: 100%;
        border-radius: 12px;
    }

    .result-title {
        color: #A100C8;
        font-size: 36px;
        line-height: 40px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .result-subtitle {
        font-size: 22px;
        line-height: 24px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .result-content p {
        font-size: 18px;
        line-height: 22px;
    }
}

/* ===== TABLET ===== */
@media (max-width: 1199px) and (min-width: 769px) {

    .realestate-result-swiper .result-card {
        width: 620px;
        height: 360px;
        padding: 20px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .realestate-result-swiper .result-image {
        width: 100%;
        height: auto; 
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .realestate-result-swiper {
        padding: 0 20px;
    }
    .realestate-result-swiper .result-card {
        width: 100%;
        /* min-height: 420px; */
        /* flex-direction: column; */
        padding: 15px;
        gap: 15px;
    }
    .realestate-result-swiper h3.result-title {
        margin-bottom: 10px;
    }
    
    .realestate-result-swiper h4.result-subtitle {
        margin-bottom: 10px;
    }
    

}



/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .realestate-result-swiper .swiper-slide {
        justify-content: stretch;
    }

    .realestate-result-swiper .swiper-slide {
        width: 100% !important;
    }
    .realestate-result-swiper .result-card {
        width: 100%;
        flex-direction: column;
        padding: 10px;
    }
    .realestate-video-swiper .result-card {
        width: 100%;
        /* min-height: 420px;  */
        padding: 10px;
    }

    .result-image {
        width: 100%;
        height: 220px;
        border-radius: 8px;
    }

    .result-title {
        font-size: 24px;
        line-height: 26px;
    }

    .result-subtitle {
        font-size: 16px;
        line-height: 20px;
    }

    .result-content p {
        font-size: 14px;
        line-height: 18px;
    }
}

@media (max-width: 768px) {
    .video-card {
        width: 90vw;
        padding: 16px;
    }
}

@media (max-width: 425px) {

    .realestate-video-swiper .swiper-slide {
        width: 100% !important;
    }
    .realestate-video-swiper{
        padding: 0;
    }
    .realestate-video-swiper .realestate-video-swiper .swiper-slide{
        width: 100% !important;
    }
    .realestate-video-swiper .result-card{
        gap: 10px 0;
        padding: 25px 20px 0 20px;
    }
    .realestate-video-swiper .result-content h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .realestate-video-swiper .result-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    .realestate-video-swiper .video-wrapper{
        /* width: 150px; */
        min-width: unset;
        height: unset;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        position: absolute;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;

        /* Glass background */
        background-color:#A100C8;
        color: #ffff
    }

    .swiper-button-next, .swiper-rtl .swiper-button-prev {
        right: calc(50% - 50px);
        left: auto;
        top: auto;
        bottom: -45px;
    }

    .swiper-button-prev, .swiper-rtl .swiper-button-next {
        right: auto;
        left: calc(50% - 50px);
        top: auto;
        bottom: -45px;
    }


    .swiper-button-next:after, .swiper-button-prev:after{
        font-size:20px
    }

    .realestate-video-swiper{
        overflow:unset
    }
}

@media screen and (min-width: 769px) {
   
}

@media (max-width: 400px) {

    .realestate-video-swiper .result-content h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .realestate-video-swiper .result-content p {
        font-size: 12px;
        line-height: 1.6;
    }

}



@media (max-width: 500px) {
    .why-t {
        flex: 0 0 40% !important;
        scroll-snap-align: start;
        box-sizing: border-box;
    }
}