/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
*/

@import url("../astra/style.css");

.widget_slider .flipster--flat .flipster__item--past, .widget_slider .flipster--flat .flipster__item--future {
    opacity: 1;
}
.widget_slider .flipster__item__content img {
    border-radius: 20px;
}


.wp-theme-astra .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}
.elementor-widget-theme-site-logo a img {
    max-width: 100%;
    width: 150px !important;
}
.header_call_btn a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  padding: 12px 28px;
  background-color: #000000cc;
  border-radius: 50px;
  border: 1px solid #000000cc;
}
.header_call_btn p {
    margin: 0;
    font-weight: 600;
}
.header_call_btn a:hover {
  padding: 12px 28px;
  background-color: #000000;
}
.header_call_btn > p:has(a:empty) {
  display: none;
}
.menu-toggle-close {
  background-color: #000000cc !important;
  color: #fff !important;
  border-radius: 5px;
}
.menu-toggle-close .ahfb-svg-iconset svg {
  width: 25px;
  height: 25px;
  transition: none;
}
.orange {
  color: #f35a1b;
}
.home_btn {
  align-items: center;
  display: flex;
  gap: 20px;
}
.btn_1 {
  background-color: #000000;
  padding: 16px 28px;
  color: #fff;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
.btn_1:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}
.btn_2 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  text-decoration: none !important;
}
.btn_2:hover {
    color: rgba(243, 90, 27, 1);
}
.btn_2 p {
  margin-bottom: 0;
  font-weight: 700;
}
.img_filter img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
.custom_slider section {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding-block: min(20vh, 3rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.custom_slider section h2 {
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.2;
}
.custom_slider section p {
  font-size: 0.9rem;
  max-width: 680px;
  line-height: 1.6;
  margin: 10px auto;
}
.custom_slider .swiper-container {
  position: relative;
}
.custom_slider .swiper {
  width: 100%;
  padding: 60px 0 95px 0;
}
.custom_slider .swiper-slide {
  width: 10rem;
  height: 450px;
  border-radius: 40px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.custom_slider .swiper-slide-active {
  transform: scaleX(1.3) !important;
}
.custom_slider .swiper-slide--one {
  background-image: url("/wp-content/uploads/2025/04/Frame-36.png");
}
.custom_slider .swiper-slide--two {
  background-image: url("/wp-content/uploads/2025/04/Frame-36.png");
}
.custom_slider .swiper-slide--three {
  background-image: url("https://img.youtube.com/vi/jfKfPfyJRdk/hqdefault.jpg");
}
.custom_slider .swiper-button-prev,
.custom_slider .swiper-button-next {
  display: none;
}
.custom_slider .swiper-button-prev::after,
.custom_slider .swiper-button-next::after {
  content: "";
}
.testimonial_video {
  display: flex;
  gap: 20px;
}
.abs_div {
  position: absolute;
  bottom: 35px;
  left: 20px;
  z-index: 2;
}
.video_wrapper {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}
.video_img {
  display: flex;
  position: relative;
}
.video_img img {
  border-radius: 40px;
  display: block;
  width: 100%;
}
.video_img:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 176px;
  z-index: 1;
  pointer-events: none;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  transition: background 0.6s ease-in-out, opacity 0.6s ease-in-out;
  opacity: 1;
}
.video_wrapper:hover .video_img::after {
  background: linear-gradient(180deg, rgba(243, 90, 27, 0) 0%, #f35a1b 100%);
}
.popup_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  overflow: auto; /* Allow scrolling if content is too tall */
}

.popup_inner_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px; /* Add padding so close button not stuck */
  box-sizing: border-box;
}

.popup_content {
  position: relative;
  max-width: 1080px;
  height: 90vh;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}
.popup_content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close_popup {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}
.test_owner {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.ownre_details h3 {
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin: 0;
}
.ownre_details p {
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin: 0;
}
.vplay_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.video_wrapper:hover .vplay_btn {
  opacity: 1;
  pointer-events: auto;
}
.website_link {
  color: #fff;
}
.footer_icons {
  display: flex;
  gap: 30px;
}
/* Video Popup */
#videoPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#videoPopup.show {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}
.video-popup-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}
.video-popup-content iframe {
  width: 100%;
  height: 450px;
  border: none;
}
.close-btn {
  position: absolute;
  top: -60px;
  right: 0;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.test_inner {
  border: 1px solid #cecece;
  border-radius: 24px;
  background-color: #f8f4eb;
  padding: 30px;
}
.padding {
  padding-bottom: 70px !important;
}
.tester_name h3 {
  color: #2c2c2c;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin: 0;
}
.tester_name p {
  color: #2c2c2c;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0;
}
.tester_name {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 23px 0 20px 0;
}
.tester_content {
  margin: 25px 0 20px 0;
}
.read_stories {
  color: #f35a1b;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
}
.padding .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #f35a1b;
  width: 40px;
  border-radius: 16px;
}
.padding .swiper-pagination-bullet {
  background-color: #4d4d4d;
  opacity: 1;
  width: 22px;
  height: 8px;
  border-radius: 16px;
  transition : all 0.4s ease;
}
.footer_links a {
    color: #ABABAB;
    font-size: 16px;
}
.footer_links {
    display: flex;
    justify-content: end;
    gap: 40px;
}
.bottom_shadow {
    position: relative;
    overflow: hidden;
}
.bottom_shadow::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 170px;
    width: 100%;
    background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
    pointer-events: none;
}
@media (max-width: 1550px) {
  .hero_sec .e-con-inner {
    padding-top: 150px !important;
    padding-bottom: 80px !important;
  }
}
@media (max-width: 1450px) {
  .hero_sec .e-con-inner {
    padding-top: 170px !important;
    padding-bottom: 230px !important;
  }
  .hero_sec {
    background-size: 55% auto !important;
  }
}
@media (max-width: 1350px) {
  .hero_sec .e-con-inner {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
  }
}
@media (max-width: 1025px) {
  .hero_sec .e-con-inner {
    padding-top: 20px !important;
    padding-bottom: 0px !important;
  }
  .hero_sec {
    background-size: 0% auto !important;
  }
  .bg_none {
    background-image: none !important;
    }
    .btn_2 p {
    	display: none;
    }
    .custom_slider .swiper-slide.swiper-slide-active {
        border-radius: 20px;
    }
    .custom_slider .swiper-slide {
        border-radius: 0;
        height: 300px;
    }
    .custom_slider .swiper {
        padding: 20px 0 40px 0;
    }
}
@media(max-width: 767px){
    .test_inner {
        padding: 30px 20px;
    }
    .img_filter img {
        width: 125px;
    }
    .img_filter {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    .img_filter .elementor-widget-image {
        flex: 0 0 auto;
    }
	.elementor-widget-theme-site-logo a img {
        width: 130px !important;
    }
    .btn_1 {
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
    }
    .testimonial_video {
        flex-direction: column;
    }
    .tester_content, .read_stories {
        font-size: 14px;
        line-height: 20px;
    }
    .tester_name h3 {
        font-size: 16px;
    }
    .tester_name p {
        font-size: 12px;
        line-height: 16px;
    }
    .footer_links {
        justify-content: center;
    }
}
@media (min-width: 1900px) {
  .hero_sec, .middle_sec {
    max-width: 1900px !important;
    margin: 0 auto;
    width: 100%;
  }
}