

.first-home {
  /* height: 60vh; */
  height: max-content;
}

.first-home-bg {
  height: 100%;
  width: 100%;
  background-image: url("../../images/webp/Top-slider-1.webp");
}

.first-home-content {
  width: 62%;
  padding: 5% 7%;
}

.first-home-content>h1 {
  font-size: 45px;
  color: var(--primary-blue-colour);
  line-height: 1.3;
  text-transform: capitalize;
}

.first-home-content>p {
  font-weight: 600;
  line-height: 1.5;
  color: var(--black);
}

.first-home-content>h3 {
  margin: 1% 0;
  font-weight: 500;
}

.red-heading {
  margin: 2% 0;
  font-weight: 500;
  color: var(--red);
  font-size: 25px;
}

.first-home-content>button {
  background-color: var(--primary-blue-colour);
}

.first-home-content>button>a {
  color: var(--white);
}

.green {
  color: #018438;
}

/*.first-icons-container {*/
/*  margin: 4% 0;*/
/*  margin-bottom: 0;*/
/*  grid-template-columns: 20% 20% 30% 30%;*/
/*}*/

.first-icons-container {
  margin: 4% 0;
  margin-bottom: 0;
  /* grid-template-columns: 20% 20% 30% 30%; */
  display: flex;
  flex-wrap: wrap;
}

.first_icon_box {
  display: flex;
  align-items: center;
  margin-right: 35px;
  margin-bottom: 10px;
  gap: 5px;
}

.icon-container-first .icon-content {
  font-weight: 500;
}

.icon-container {
  grid-template-columns: 30% 1fr;
  /*grid-gap: 5%;*/
}

.home-icon>img {
  /*height: 40px;*/
  width: 40px !important;
}

.icon-container-first {
  grid-template-columns: 30% 1fr;
}


.iti {
  margin-bottom: 1rem;
}


/* ------------------------------------ */
/* EECP treatment section css */
/* ------------------------------------ */

.eecp-benefits {
  padding-top: 5%;
  background-color: #fafafa;
}

.eecp-benefits .treatment-first>h4 {
  font-size: 25px;
  font-weight: 500px;
}

.eecp-benefits .treatment-first>h4>span {
  color: var(--red);
  font-size: 25px;
  font-weight: 500px;
}

.benefits-grid-parent {
  padding: 5% 7%;
  padding-bottom: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
}

.benefits-grid-child-content {
  padding-bottom: 4%;
}

.benefits-box {
  margin-bottom: 8%;
}

.benefits-heading-box {
  grid-template-columns: 8% 1fr;
}

.benefits-heading-box .benefits-icon>i {
  color: var(--primary-blue-colour);
  font-size: 24px;
}

.benefits-heading-box .content>h5 {
  color: var(--primary-blue-colour);
  margin-bottom: 1%;
  margin-top: -1%;
  font-weight: 700;
  font-size: 16px;
}

.benefits-grid-child>img {
  height: 100%;
  width: 100%;
}

/* .popup form style */

#popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

#popup-container.popup-visible {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-header {
  width: 100%;
  background-color: var(--primary-blue-colour);
  color: white;
  padding: 1rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.popup-header h3 {
  font-size: 25px;
}

.popup-body {
  display: flex;
  flex: 1;
  padding: 2rem;
  flex-wrap: wrap;
}

.popup-left,
.popup-right {
  flex: 1;
  /*min-width: 300px;*/
  padding: 1rem;
}

.popup-left h2 {
  margin: 0;
  font-size: 20px;
}

.popup-left p {
  margin: 0.8rem 0;
  color: #555;
}

.popup-left {
  border-right: 2px dotted;
}

.step {
  margin: 1rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  align-items: center;
}

.step span {
  font-size: 13px;
  color: #555;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  background: #1e95c312;
  border-radius: 7px;
}

.stats_value {
  font-size: 20px;
  line-height: 1;
}

.stats_content {
  font-weight: 400;
}

.popup-right input,
.popup-right select {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.submit-btn {
  width: 100%;
  background: var(--primary-blue-colour);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  position: relative;
  cursor: pointer;
  margin-top: 17px;
}

.submit-btn::before {
  content: "Consultation Now";
  position: absolute;
  top: -1.5rem;
  right: 0;
  background: #ec1d26;
  color: white;
  padding: 0.2rem 2rem;
  font-size: 0.8rem;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 45px;
  cursor: pointer;
  position: absolute;
  right: 10px;
}

@media (max-width: 768px) {
  .popup-body {
    flex-direction: column;
    padding: 5px;
  }
  
  .popup-left{
      display: none;
  }

  .popup-left,
  .popup-right {
    padding: 0.5rem;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
  }
}

.popup_step_container {
  position: relative;
}

.popup_step_container .line {
  position: absolute;
  height: 90%;
  width: 3px;
  background-color: var(--primary-blue-colour);
  left: 12px;
  top: 2px;
}

.round_icon {
  display: inline-block;
  min-width: 27px;
  min-height: 27px;
  background-color: var(--primary-blue-colour);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
}

.round_icon i {
  font-size: 14px;
}

.stats_div {
  display: flex;
  flex-direction: column;

}

/* //.popup style end */

/* fixed sidbar start */
.social-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  border-radius: 0 7px 7px 0;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 0px 5px 2px rgba(0, 0, 0, 0.18);
}

.social-bar #toggleBtn i {
  font-size: 20px;
}

.social-icon,
.social-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  background-color: #ccc;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  color: black;
}

.social-icon img {
  width: 20px;
}

.social-icon:hover {
  background-color: red !important;
}

.social-icon:hover img {
  transform: scale(1.5);
  transition: transform 0.3s ease;
}

.social-bar .social-icon:nth-child(1) {
  background-color: #8fcae1;
}

.social-bar .social-icon:nth-child(2) {
  background-color: #78bfdb;
}

.social-bar .social-icon:nth-child(3) {
  background-color: #62b5d5;
}

.social-bar .social-icon:nth-child(4) {
  background-color: #4baacf;
}

.social-bar .social-icon:nth-child(5) {
  background-color: #35a0c9;
}

.social-toggle {
  background-color: #1e95c3;
  color: white;
  border-radius: 0 0 7px 0;
}

.social-toggle:hover {
  background-color: #0b5d7e;
}

.social-toggle:hover i {
  transform: scale(1.3);
  transition: transform 0.3s ease;
}

/* Smooth collapse styles */
.social-icon-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  max-height: 500px;
  opacity: 1;
}

.collapsed .social-icon-wrapper {
  max-height: 0;
  opacity: 0;
}

.collapsed .social-toggle {
  border-radius: 10px 0 0 10px;
}

/* fixed sidbar end */



.heart_icon {
    position: fixed;
    bottom: 1%;
    left: 1%;
    z-index: 999;
    width: 60px;
    animation: floatPulse 3s ease-in-out infinite;
    transition: transform 0.3s;   
}

.heart_icon:hover {
  transform: scale(1.1) rotate(-5deg);
}

/* Floating + subtle pulse */
@keyframes floatPulse {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

/* Animated Text */
.animated_text {
  position: absolute;
  top: 50%;
  left: -65%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: bold;
  color: #e63946;
  white-space: nowrap;
  opacity: 0;
  animation: popText 4s infinite;
}

/* Text appears and disappears from inside the heart */
@keyframes popText {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  10% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  60% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
}


iframe[title="chat widget"] {
  z-index: 99999 !important;
  /* Ensure it's on top of most elements */
}


@media screen and (max-width: 1020px) {
  .first-home-content {
    width: 80%;
  }

  .about-us-image>img {
    height: 300px;
  }

  .benefits-grid-parent {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 700px) {
  .first-home-content {
    width: 100%;
  }

  .first-home-content .main-heading {
    text-align: left;

  }

  .first-icons-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .first-icons-container>div {
    margin-bottom: 3%;
  }

  .about-us-image>img {
    height: 430px;
    object-fit: cover;
  }

  .benefits-grid-parent {
    gap: 0;
    grid-template-columns: repeat(1, 1fr);
  }

  .benefits-grid-child {
    margin-bottom: 3%;
  }

  .review-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .review-section .grid-center {
    place-items: start;
  }

  .review-grid-left {
    margin-bottom: 3%;
  }

  .first-icons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .first_icon_box {
    margin-right: 10px;
  }
}

@media screen and (max-width: 600px) {
  .first-home-content .main-heading {
    font-size: 25px;

  }

  .first-home-content>p {
    line-height: 1.5;
    color: var(--black);
    font-size: 11px;
    font-weight: normal;
  }

  .red-heading {
    font-size: 17px;
  }
  
  .social-bar,.heart_icon{
      display: none;
  }
}

@media screen and (max-width: 425px) {
  .eecp-benefits .treatment-first .home-heading {
    text-align: center;
  }
  
  .popup-header h3 {
      font-size: 15px;
  }
  
  .close-btn {
      font-size: 30px;
  }
}




    /* Hide the Tawk.to widget before it loads */
        #tawkchat-container,
        iframe[title="chat widget"],
        iframe[src*="tawk.to"] {
          display: none !important;
          visibility: hidden !important;
          opacity: 0 !important;
        }
        
    /*country code css*/
    
    .popup-right .iti{
        margin-bottom: 1rem;
    } 
    .iti{
        width: 100%;
    }
    .iti__country-list{
        width: 300px;
    }
    /*country code css*/
    
    
    /*after live add this in faq.css*/
    .faqs-section{
        background: #e8f4f8;
    }
    
   .states-card  p {
     padding: 0% 5% 2%;
    font-weight: 400;
    font-size: 12px;
    }
    
    .card_addr{
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 5em;   
    }
    
    .states-card  span {
    margin-top: 5px;
    }
    
    .contact-popup-btn {
        flex: 1;
        padding: 5px;
        border: 2px solid #3b82f6;
        background: white;
        color: #3b82f6;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }

    .contact-popup-btn:hover {
        background: #3b82f6;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    }

    .contact-popup-btn.call {
        border-color:  var(--primary-blue-colour) ;
        color:  var(--primary-blue-colour) ;
    }

    .contact-popup-btn.call:hover {
        background:  var(--primary-blue-colour) ;
        color: white;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    }

    .contact-popup-btn.text {
        border-color: #40c351;
        color: #40c351;
    }

    .contact-popup-btn.text:hover {
        background: #62bc6d54;
        /*color: white;*/
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    }
    
     .contact-options {
        display: flex;
        gap: 15px;
        margin:10px 0px;
    }
 
    
    .conversation_box_icon{
        color: white;
        font-size: 25px;
    }
    .lazyload[data-bg] {
        background-size: cover;
        background-position: center;
    }

    .lazyloaded[data-bg] {
        background-image: url("");
    }

    .back_img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;

    }

    .back_img img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .hero {
        /*position: relative;*/
        overflow: hidden;
    }

    .first-home-content {
        position: relative;
    }


    .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
        padding: 0 10px;
    }
    .owl-nav button {
            background-color: white !important;
            color: var(--primary-blue-colour) !important;
            border: 2px solid var(--primary-blue-colour) !important;
            border-radius: 50%;
            font-size: 1.5rem !important;
            width: 40px;
            height: 40px;
            pointer-events: all;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .owl-nav button:hover {
            background-color: var(--primary-blue-colour) !important;
            color: white !important;
            transform: scale(1.1);
            box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
        }

    .owl-dots {
        position: absolute;
        bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    @media screen and (max-width: 768px) {

        .owl-nav button {
            width: 35px;
            height: 35px;
            font-size: 1.2rem !important;
        }

    }
    
    .gradient-line{
        margin: 1% !important;
    }
    
    #tawkchat-container {
       display: none !important;
    }
    